7 references to BearerScheme
Microsoft.AspNetCore.Identity (7)
IdentityApiEndpointRouteBuilderExtensions.cs (3)
97
signInManager.AuthenticationScheme = useCookieScheme ? IdentityConstants.ApplicationScheme : IdentityConstants.
BearerScheme
;
126
var refreshTokenProtector = bearerTokenOptions.Get(IdentityConstants.
BearerScheme
).RefreshTokenProtector;
139
return TypedResults.SignIn(newPrincipal, authenticationScheme: IdentityConstants.
BearerScheme
);
IdentityConstants.cs (1)
24
/// The scheme used to identify combination of <see cref="
BearerScheme
"/> and <see cref="ApplicationScheme"/>.
IdentityServiceCollectionExtensions.cs (3)
146
compositeOptions.ForwardDefault = IdentityConstants.
BearerScheme
;
149
.AddBearerToken(IdentityConstants.
BearerScheme
)
196
var bearerResult = await Context.AuthenticateAsync(IdentityConstants.
BearerScheme
);