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)
146compositeOptions.ForwardDefault = IdentityConstants.BearerScheme; 149.AddBearerToken(IdentityConstants.BearerScheme) 196var bearerResult = await Context.AuthenticateAsync(IdentityConstants.BearerScheme);
Microsoft.AspNetCore.Identity.FunctionalTests (4)
MapIdentityApiTests.cs (4)
174services.AddAuthentication().AddBearerToken(IdentityConstants.BearerScheme, options => 249services.AddAuthentication().AddBearerToken(IdentityConstants.BearerScheme, options => 334services.AddAuthentication().AddBearerToken(IdentityConstants.BearerScheme, options => 1376.AddBearerToken(IdentityConstants.BearerScheme);