11 references to ApplicationScheme
Microsoft.AspNetCore.Identity (11)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
97
signInManager.AuthenticationScheme = useCookieScheme ? IdentityConstants.
ApplicationScheme
: IdentityConstants.BearerScheme;
IdentityConstants.cs (1)
24
/// The scheme used to identify combination of <see cref="BearerScheme"/> and <see cref="
ApplicationScheme
"/>.
IdentityCookiesBuilderExtensions.cs (2)
49
builder.AddCookie(IdentityConstants.
ApplicationScheme
, o =>
57
return new OptionsBuilder<CookieAuthenticationOptions>(builder.Services, IdentityConstants.
ApplicationScheme
);
IdentityServiceCollectionExtensions.cs (5)
55
options.DefaultAuthenticateScheme = IdentityConstants.
ApplicationScheme
;
56
options.DefaultChallengeScheme = IdentityConstants.
ApplicationScheme
;
59
.AddCookie(IdentityConstants.
ApplicationScheme
, o =>
163
=> services.Configure(IdentityConstants.
ApplicationScheme
, configure);
205
return await Context.AuthenticateAsync(IdentityConstants.
ApplicationScheme
);
SignInManager.cs (2)
99
/// The authentication scheme to sign in with. Defaults to <see cref="IdentityConstants.
ApplicationScheme
"/>.
101
public string AuthenticationScheme { get; set; } = IdentityConstants.
ApplicationScheme
;