5 references to BearerTokenDefaults
Microsoft.AspNetCore.Authentication.BearerToken (4)
BearerTokenExtensions.cs (4)
18
/// Adds bearer token authentication. The default scheme is specified by <see cref="
BearerTokenDefaults
.AuthenticationScheme"/>.
26
=> builder.AddBearerToken(
BearerTokenDefaults
.AuthenticationScheme);
41
/// Adds bearer token authentication. The default scheme is specified by <see cref="
BearerTokenDefaults
.AuthenticationScheme"/>.
50
=> builder.AddBearerToken(
BearerTokenDefaults
.AuthenticationScheme, configure);
Microsoft.AspNetCore.Authentication.Test (1)
BearerTokenTests.cs (1)
10
protected override string DefaultScheme =>
BearerTokenDefaults
.AuthenticationScheme;