21 instantiations of AuthenticationBuilder
Aspire.Keycloak.Authentication.Tests (20)
KeycloakAuthenticationPublicApiTests.cs (20)
33
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
51
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
83
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
102
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
121
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
154
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
173
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
211
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
235
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
259
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
296
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
314
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
346
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
365
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
384
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
417
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
436
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
474
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
498
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
522
AuthenticationBuilder builder = new
AuthenticationBuilder
(services);
Microsoft.AspNetCore.Authentication (1)
AuthenticationServiceCollectionExtensions.cs (1)
32
return new
AuthenticationBuilder
(services);
268 references to AuthenticationBuilder
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
723
var
authentication = builder.Services
Aspire.Keycloak.Authentication (25)
AspireKeycloakExtensions.cs (25)
13
/// Provides extension methods for registering Keycloak-related services in an <see cref="
AuthenticationBuilder
"/>.
22
/// <param name="builder">The <see cref="
AuthenticationBuilder
" /> to add services to.</param>
29
public static
AuthenticationBuilder
AddKeycloakJwtBearer(this
AuthenticationBuilder
builder, string serviceName, string realm)
35
/// <param name="builder">The <see cref="
AuthenticationBuilder
" /> to add services to.</param>
43
public static
AuthenticationBuilder
AddKeycloakJwtBearer(this
AuthenticationBuilder
builder, string serviceName, string realm, string authenticationScheme)
49
/// <param name="builder">The <see cref="
AuthenticationBuilder
" /> to add services to.</param>
57
public static
AuthenticationBuilder
AddKeycloakJwtBearer(this
AuthenticationBuilder
builder, string serviceName, string realm, Action<JwtBearerOptions>? configureOptions)
63
/// <param name="builder">The <see cref="
AuthenticationBuilder
" /> to add services to.</param>
72
public static
AuthenticationBuilder
AddKeycloakJwtBearer(
73
this
AuthenticationBuilder
builder,
104
/// <param name="builder">The <see cref="
AuthenticationBuilder
" /> to add services to.</param>
111
public static
AuthenticationBuilder
AddKeycloakOpenIdConnect(this
AuthenticationBuilder
builder, string serviceName, string realm)
117
/// <param name="builder">The <see cref="
AuthenticationBuilder
" /> to add services to.</param>
125
public static
AuthenticationBuilder
AddKeycloakOpenIdConnect(this
AuthenticationBuilder
builder, string serviceName, string realm, string authenticationScheme)
131
/// <param name="builder">The <see cref="
AuthenticationBuilder
" /> to add services to.</param>
139
public static
AuthenticationBuilder
AddKeycloakOpenIdConnect(this
AuthenticationBuilder
builder, string serviceName, string realm, Action<OpenIdConnectOptions>? configureOptions)
145
/// <param name="builder">The <see cref="
AuthenticationBuilder
" /> to add services to.</param>
154
public static
AuthenticationBuilder
AddKeycloakOpenIdConnect(
155
this
AuthenticationBuilder
builder,
Aspire.Keycloak.Authentication.Tests (28)
KeycloakAuthenticationPublicApiTests.cs (28)
17
AuthenticationBuilder
builder = null!;
33
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
51
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
66
AuthenticationBuilder
builder = null!;
83
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
102
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
121
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
137
AuthenticationBuilder
builder = null!;
154
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
173
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
189
AuthenticationBuilder
builder = null!;
211
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
235
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
259
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
280
AuthenticationBuilder
builder = null!;
296
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
314
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
329
AuthenticationBuilder
builder = null!;
346
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
365
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
384
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
400
AuthenticationBuilder
builder = null!;
417
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
436
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
452
AuthenticationBuilder
builder = null!;
474
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
498
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
522
AuthenticationBuilder
builder = new AuthenticationBuilder(services);
Microsoft.AspNetCore.Authentication (13)
AuthenticationBuilder.cs (6)
17
/// Initializes a new instance of <see cref="
AuthenticationBuilder
"/>.
30
private
AuthenticationBuilder
AddSchemeHelper<TOptions, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] THandler>(string authenticationScheme, string? displayName, Action<TOptions>? configureOptions)
65
public virtual
AuthenticationBuilder
AddScheme<TOptions, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] THandler>(string authenticationScheme, string? displayName, Action<TOptions>? configureOptions)
78
public virtual
AuthenticationBuilder
AddScheme<TOptions, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] THandler>(string authenticationScheme, Action<TOptions>? configureOptions)
93
public virtual
AuthenticationBuilder
AddRemoteScheme<TOptions, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] THandler>(string authenticationScheme, string? displayName, Action<TOptions>? configureOptions)
109
public virtual
AuthenticationBuilder
AddPolicyScheme(string authenticationScheme, string? displayName, Action<PolicySchemeOptions> configureOptions)
AuthenticationServiceCollectionExtensions.cs (7)
18
/// <returns>A <see cref="
AuthenticationBuilder
"/> that can be used to further configure authentication.</returns>
19
public static
AuthenticationBuilder
AddAuthentication(this IServiceCollection services)
41
/// <returns>A <see cref="
AuthenticationBuilder
"/> that can be used to further configure authentication.</returns>
42
public static
AuthenticationBuilder
AddAuthentication(this IServiceCollection services, string defaultScheme)
50
/// <returns>A <see cref="
AuthenticationBuilder
"/> that can be used to further configure authentication.</returns>
51
public static
AuthenticationBuilder
AddAuthentication(this IServiceCollection services, Action<AuthenticationOptions> configureOptions)
56
var
builder = services.AddAuthentication();
Microsoft.AspNetCore.Authentication.BearerToken (12)
BearerTokenExtensions.cs (12)
23
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
25
public static
AuthenticationBuilder
AddBearerToken(this
AuthenticationBuilder
builder)
34
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
37
public static
AuthenticationBuilder
AddBearerToken(this
AuthenticationBuilder
builder, string authenticationScheme)
46
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
49
public static
AuthenticationBuilder
AddBearerToken(this
AuthenticationBuilder
builder, Action<BearerTokenOptions> configure)
58
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
62
public static
AuthenticationBuilder
AddBearerToken(this
AuthenticationBuilder
builder, string authenticationScheme, Action<BearerTokenOptions> configure)
Microsoft.AspNetCore.Authentication.Certificate (20)
CertificateAuthenticationExtensions.cs (20)
24
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
25
/// <returns>The <see cref="
AuthenticationBuilder
"/>.</returns>
26
public static
AuthenticationBuilder
AddCertificate(this
AuthenticationBuilder
builder)
37
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
39
/// <returns>The <see cref="
AuthenticationBuilder
"/>.</returns>
40
public static
AuthenticationBuilder
AddCertificate(this
AuthenticationBuilder
builder, string authenticationScheme)
51
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
53
/// <returns>The <see cref="
AuthenticationBuilder
"/>.</returns>
54
public static
AuthenticationBuilder
AddCertificate(this
AuthenticationBuilder
builder, Action<CertificateAuthenticationOptions>? configureOptions)
65
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
68
/// <returns>The <see cref="
AuthenticationBuilder
"/>.</returns>
69
public static
AuthenticationBuilder
AddCertificate(
70
this
AuthenticationBuilder
builder,
83
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
85
/// <returns>The <see cref="
AuthenticationBuilder
"/>.</returns>
86
public static
AuthenticationBuilder
AddCertificateCache(
87
this
AuthenticationBuilder
builder,
Microsoft.AspNetCore.Authentication.Cookies (20)
CookieExtensions.cs (20)
17
/// Adds cookie authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
23
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
25
public static
AuthenticationBuilder
AddCookie(this
AuthenticationBuilder
builder)
29
/// Adds cookie authentication to <see cref="
AuthenticationBuilder
"/> using the specified scheme.
34
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
37
public static
AuthenticationBuilder
AddCookie(this
AuthenticationBuilder
builder, string authenticationScheme)
41
/// Adds cookie authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
47
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
50
public static
AuthenticationBuilder
AddCookie(this
AuthenticationBuilder
builder, Action<CookieAuthenticationOptions> configureOptions)
54
/// Adds cookie authentication to <see cref="
AuthenticationBuilder
"/> using the specified scheme.
59
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
63
public static
AuthenticationBuilder
AddCookie(this
AuthenticationBuilder
builder, string authenticationScheme, Action<CookieAuthenticationOptions> configureOptions)
67
/// Adds cookie authentication to <see cref="
AuthenticationBuilder
"/> using the specified scheme.
72
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
77
public static
AuthenticationBuilder
AddCookie(this
AuthenticationBuilder
builder, string authenticationScheme, string? displayName, Action<CookieAuthenticationOptions> configureOptions)
Microsoft.AspNetCore.Authentication.Facebook (16)
FacebookExtensions.cs (16)
15
/// Adds Facebook OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
21
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
23
public static
AuthenticationBuilder
AddFacebook(this
AuthenticationBuilder
builder)
27
/// Adds Facebook OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
33
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
36
public static
AuthenticationBuilder
AddFacebook(this
AuthenticationBuilder
builder, Action<FacebookOptions> configureOptions)
40
/// Adds Facebook OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
46
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
50
public static
AuthenticationBuilder
AddFacebook(this
AuthenticationBuilder
builder, string authenticationScheme, Action<FacebookOptions> configureOptions)
54
/// Adds Facebook OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
60
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
64
public static
AuthenticationBuilder
AddFacebook(this
AuthenticationBuilder
builder, string authenticationScheme, string displayName, Action<FacebookOptions> configureOptions)
Microsoft.AspNetCore.Authentication.Google (16)
GoogleExtensions.cs (16)
15
/// Adds Google OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
21
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
23
public static
AuthenticationBuilder
AddGoogle(this
AuthenticationBuilder
builder)
27
/// Adds Google OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
33
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
36
public static
AuthenticationBuilder
AddGoogle(this
AuthenticationBuilder
builder, Action<GoogleOptions> configureOptions)
40
/// Adds Google OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
46
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
50
public static
AuthenticationBuilder
AddGoogle(this
AuthenticationBuilder
builder, string authenticationScheme, Action<GoogleOptions> configureOptions)
54
/// Adds Google OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
60
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
65
public static
AuthenticationBuilder
AddGoogle(this
AuthenticationBuilder
builder, string authenticationScheme, string displayName, Action<GoogleOptions> configureOptions)
Microsoft.AspNetCore.Authentication.JwtBearer (15)
JwtBearerExtensions.cs (15)
22
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
24
public static
AuthenticationBuilder
AddJwtBearer(this
AuthenticationBuilder
builder)
33
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
36
public static
AuthenticationBuilder
AddJwtBearer(this
AuthenticationBuilder
builder, string authenticationScheme)
45
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
48
public static
AuthenticationBuilder
AddJwtBearer(this
AuthenticationBuilder
builder, Action<JwtBearerOptions> configureOptions)
57
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
61
public static
AuthenticationBuilder
AddJwtBearer(this
AuthenticationBuilder
builder, string authenticationScheme, Action<JwtBearerOptions> configureOptions)
70
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
75
public static
AuthenticationBuilder
AddJwtBearer(this
AuthenticationBuilder
builder, string authenticationScheme, string? displayName, Action<JwtBearerOptions> configureOptions)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (16)
MicrosoftAccountExtensions.cs (16)
15
/// Adds Microsoft Account OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
21
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
23
public static
AuthenticationBuilder
AddMicrosoftAccount(this
AuthenticationBuilder
builder)
27
/// Adds Microsoft Account OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
33
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
36
public static
AuthenticationBuilder
AddMicrosoftAccount(this
AuthenticationBuilder
builder, Action<MicrosoftAccountOptions> configureOptions)
40
/// Adds Microsoft Account OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
46
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
50
public static
AuthenticationBuilder
AddMicrosoftAccount(this
AuthenticationBuilder
builder, string authenticationScheme, Action<MicrosoftAccountOptions> configureOptions)
54
/// Adds Microsoft Account OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
60
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
65
public static
AuthenticationBuilder
AddMicrosoftAccount(this
AuthenticationBuilder
builder, string authenticationScheme, string displayName, Action<MicrosoftAccountOptions> configureOptions)
Microsoft.AspNetCore.Authentication.Negotiate (16)
NegotiateExtensions.cs (16)
19
/// Configures the <see cref="
AuthenticationBuilder
"/> to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication
25
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
27
public static
AuthenticationBuilder
AddNegotiate(this
AuthenticationBuilder
builder)
31
/// Configures the <see cref="
AuthenticationBuilder
"/> to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication
37
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
40
public static
AuthenticationBuilder
AddNegotiate(this
AuthenticationBuilder
builder, Action<NegotiateOptions> configureOptions)
44
/// Configures the <see cref="
AuthenticationBuilder
"/> to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication
50
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
54
public static
AuthenticationBuilder
AddNegotiate(this
AuthenticationBuilder
builder, string authenticationScheme, Action<NegotiateOptions> configureOptions)
58
/// Configures the <see cref="
AuthenticationBuilder
"/> to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication
64
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
69
public static
AuthenticationBuilder
AddNegotiate(this
AuthenticationBuilder
builder, string authenticationScheme, string? displayName, Action<NegotiateOptions> configureOptions)
Microsoft.AspNetCore.Authentication.OAuth (16)
OAuthExtensions.cs (16)
18
/// Adds OAuth 2.0 based authentication to <see cref="
AuthenticationBuilder
"/> using the specified authentication scheme.
20
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
24
public static
AuthenticationBuilder
AddOAuth(this
AuthenticationBuilder
builder, string authenticationScheme, Action<OAuthOptions> configureOptions)
28
/// Adds OAuth 2.0 based authentication to <see cref="
AuthenticationBuilder
"/> using the specified authentication scheme.
30
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
35
public static
AuthenticationBuilder
AddOAuth(this
AuthenticationBuilder
builder, string authenticationScheme, string displayName, Action<OAuthOptions> configureOptions)
39
/// Adds OAuth 2.0 based authentication to <see cref="
AuthenticationBuilder
"/> using the specified authentication scheme.
41
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
45
public static
AuthenticationBuilder
AddOAuth<TOptions, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] THandler>(this
AuthenticationBuilder
builder, string authenticationScheme, Action<TOptions> configureOptions)
51
/// Adds OAuth 2.0 based authentication to <see cref="
AuthenticationBuilder
"/> using the specified authentication scheme.
53
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
58
public static
AuthenticationBuilder
AddOAuth<TOptions, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] THandler>(this
AuthenticationBuilder
builder, string authenticationScheme, string displayName, Action<TOptions> configureOptions)
Microsoft.AspNetCore.Authentication.OpenIdConnect (16)
OpenIdConnectExtensions.cs (16)
17
/// Adds OpenId Connect authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
24
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
26
public static
AuthenticationBuilder
AddOpenIdConnect(this
AuthenticationBuilder
builder)
30
/// Adds OpenId Connect authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
37
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
40
public static
AuthenticationBuilder
AddOpenIdConnect(this
AuthenticationBuilder
builder, Action<OpenIdConnectOptions> configureOptions)
44
/// Adds OpenId Connect authentication to <see cref="
AuthenticationBuilder
"/> using the specified scheme.
50
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
54
public static
AuthenticationBuilder
AddOpenIdConnect(this
AuthenticationBuilder
builder, string authenticationScheme, Action<OpenIdConnectOptions> configureOptions)
58
/// Adds OpenId Connect authentication to <see cref="
AuthenticationBuilder
"/> using the specified scheme.
64
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
69
public static
AuthenticationBuilder
AddOpenIdConnect(this
AuthenticationBuilder
builder, string authenticationScheme, string? displayName, Action<OpenIdConnectOptions> configureOptions)
Microsoft.AspNetCore.Authentication.Twitter (16)
TwitterExtensions.cs (16)
17
/// Adds Twitter OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
23
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
25
public static
AuthenticationBuilder
AddTwitter(this
AuthenticationBuilder
builder)
29
/// Adds Twitter OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
35
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
38
public static
AuthenticationBuilder
AddTwitter(this
AuthenticationBuilder
builder, Action<TwitterOptions> configureOptions)
42
/// Adds Twitter OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
48
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
52
public static
AuthenticationBuilder
AddTwitter(this
AuthenticationBuilder
builder, string authenticationScheme, Action<TwitterOptions> configureOptions)
56
/// Adds Twitter OAuth-based authentication to <see cref="
AuthenticationBuilder
"/> using the default scheme.
62
/// <param name="builder">The <see cref="
AuthenticationBuilder
"/>.</param>
67
public static
AuthenticationBuilder
AddTwitter(this
AuthenticationBuilder
builder, string authenticationScheme, string displayName, Action<TwitterOptions> configureOptions)
Microsoft.AspNetCore.Authentication.WsFederation (8)
WsFederationExtensions.cs (8)
21
public static
AuthenticationBuilder
AddWsFederation(this
AuthenticationBuilder
builder)
30
public static
AuthenticationBuilder
AddWsFederation(this
AuthenticationBuilder
builder, Action<WsFederationOptions> configureOptions)
40
public static
AuthenticationBuilder
AddWsFederation(this
AuthenticationBuilder
builder, string authenticationScheme, Action<WsFederationOptions> configureOptions)
51
public static
AuthenticationBuilder
AddWsFederation(this
AuthenticationBuilder
builder, string authenticationScheme, string displayName, Action<WsFederationOptions> configureOptions)
Microsoft.AspNetCore.Identity (14)
IdentityBuilderExtensions.cs (2)
90
/// but does not configure authentication. Call <see cref="BearerTokenExtensions.AddBearerToken(
AuthenticationBuilder
, Action{BearerTokenOptions}?)"/> and/or
91
/// <see cref="IdentityCookieAuthenticationBuilderExtensions.AddIdentityCookies(
AuthenticationBuilder
)"/> to configure authentication separately.
IdentityCookiesBuilderExtensions.cs (12)
20
/// <param name="builder">The current <see cref="
AuthenticationBuilder
"/> instance.</param>
22
public static IdentityCookiesBuilder AddIdentityCookies(this
AuthenticationBuilder
builder)
28
/// <param name="builder">The current <see cref="
AuthenticationBuilder
"/> instance.</param>
31
public static IdentityCookiesBuilder AddIdentityCookies(this
AuthenticationBuilder
builder, Action<IdentityCookiesBuilder> configureCookies)
45
/// <param name="builder">The current <see cref="
AuthenticationBuilder
"/> instance.</param>
47
public static OptionsBuilder<CookieAuthenticationOptions> AddApplicationCookie(this
AuthenticationBuilder
builder)
63
/// <param name="builder">The current <see cref="
AuthenticationBuilder
"/> instance.</param>
65
public static OptionsBuilder<CookieAuthenticationOptions> AddExternalCookie(this
AuthenticationBuilder
builder)
78
/// <param name="builder">The current <see cref="
AuthenticationBuilder
"/> instance.</param>
80
public static OptionsBuilder<CookieAuthenticationOptions> AddTwoFactorRememberMeCookie(this
AuthenticationBuilder
builder)
96
/// <param name="builder">The current <see cref="
AuthenticationBuilder
"/> instance.</param>
98
public static OptionsBuilder<CookieAuthenticationOptions> AddTwoFactorUserIdCookie(this
AuthenticationBuilder
builder)