public static class GoogleOpenIdConnectExtensions
Extension methods to support Google OpenIdConnect authentication.
Namespace
Microsoft.Extensions.DependencyInjectionAssembly
Google.Apis.Auth.AspNetCore3.dll
Methods
AddGoogleOpenIdConnect(AuthenticationBuilder)
public static AuthenticationBuilder AddGoogleOpenIdConnect(this AuthenticationBuilder builder)
Add Google OpenIdConnect authentication.
Parameter | |
---|---|
Name | Description |
builder | AuthenticationBuilder The current . |
Returns | |
---|---|
Type | Description |
AuthenticationBuilder | The current . |
AddGoogleOpenIdConnect(AuthenticationBuilder, Action<OpenIdConnectOptions>)
public static AuthenticationBuilder AddGoogleOpenIdConnect(this AuthenticationBuilder builder, Action<OpenIdConnectOptions> configureOptions)
Add Google OpenIdConnect authentication.
Parameters | |
---|---|
Name | Description |
builder | AuthenticationBuilder The current . |
configureOptions | Action<OpenIdConnectOptions> Function allowing option customization. |
Returns | |
---|---|
Type | Description |
AuthenticationBuilder | The current . |
AddGoogleOpenIdConnect(AuthenticationBuilder, String, Action<OpenIdConnectOptions>)
public static AuthenticationBuilder AddGoogleOpenIdConnect(this AuthenticationBuilder builder, string authenticationScheme, Action<OpenIdConnectOptions> configureOptions)
Add Google OpenIdConnect authentication.
Parameters | |
---|---|
Name | Description |
builder | AuthenticationBuilder The current . |
authenticationScheme | String The name of this authentication scheme. |
configureOptions | Action<OpenIdConnectOptions> Function allowing option customization. |
Returns | |
---|---|
Type | Description |
AuthenticationBuilder | The current . |
AddGoogleOpenIdConnect(AuthenticationBuilder, String, String, Action<OpenIdConnectOptions>)
public static AuthenticationBuilder AddGoogleOpenIdConnect(this AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<OpenIdConnectOptions> configureOptions)
Add Google OpenIdConnect authentication.
Parameters | |
---|---|
Name | Description |
builder | AuthenticationBuilder The current . |
authenticationScheme | String The name of this authentication scheme. |
displayName | String The display name of this authentication scheme. |
configureOptions | Action<OpenIdConnectOptions> Function allowing option customization. |
Returns | |
---|---|
Type | Description |
AuthenticationBuilder | The current . |