11 references to BearerScheme
Microsoft.AspNetCore.Identity (7)
IdentityApiEndpointRouteBuilderExtensions.cs (3)
97signInManager.AuthenticationScheme = useCookieScheme ? IdentityConstants.ApplicationScheme : IdentityConstants.BearerScheme; 126var refreshTokenProtector = bearerTokenOptions.Get(IdentityConstants.BearerScheme).RefreshTokenProtector; 139return 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)
144compositeOptions.ForwardDefault = IdentityConstants.BearerScheme; 147.AddBearerToken(IdentityConstants.BearerScheme) 194var bearerResult = await Context.AuthenticateAsync(IdentityConstants.BearerScheme);
Microsoft.AspNetCore.Identity.FunctionalTests (4)
MapIdentityApiTests.cs (4)
171services.AddAuthentication().AddBearerToken(IdentityConstants.BearerScheme, options => 246services.AddAuthentication().AddBearerToken(IdentityConstants.BearerScheme, options => 331services.AddAuthentication().AddBearerToken(IdentityConstants.BearerScheme, options => 1335.AddBearerToken(IdentityConstants.BearerScheme);