11 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)
144
compositeOptions.ForwardDefault = IdentityConstants.
BearerScheme
;
147
.AddBearerToken(IdentityConstants.
BearerScheme
)
194
var bearerResult = await Context.AuthenticateAsync(IdentityConstants.
BearerScheme
);
Microsoft.AspNetCore.Identity.FunctionalTests (4)
MapIdentityApiTests.cs (4)
171
services.AddAuthentication().AddBearerToken(IdentityConstants.
BearerScheme
, options =>
246
services.AddAuthentication().AddBearerToken(IdentityConstants.
BearerScheme
, options =>
331
services.AddAuthentication().AddBearerToken(IdentityConstants.
BearerScheme
, options =>
1335
.AddBearerToken(IdentityConstants.
BearerScheme
);