mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05:00
remove deprecated jwt bearer authentication method
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using IdentityServer4.Models;
|
||||
using IdentityModel;
|
||||
using IdentityServer4.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Security.Claims;
|
||||
|
||||
@ -11,13 +12,9 @@ namespace Bit.Core.IdentityServer
|
||||
return new List<ApiResource>
|
||||
{
|
||||
new ApiResource("api", new string[] {
|
||||
ClaimTypes.AuthenticationMethod,
|
||||
ClaimTypes.NameIdentifier,
|
||||
ClaimTypes.Email,
|
||||
"securitystamp",
|
||||
|
||||
"name",
|
||||
"email",
|
||||
JwtClaimTypes.Name,
|
||||
JwtClaimTypes.Email,
|
||||
JwtClaimTypes.EmailVerified,
|
||||
"sstamp", // security stamp
|
||||
"plan",
|
||||
"device",
|
||||
|
Reference in New Issue
Block a user