public static class GoogleOpenIdConnectExtensions
Extension methods to support Google OpenIdConnect authentication.
Namespace
MicrosoftMicrosoft.ExtensionsDependencyInjectionAssembly
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 |
ActionOpenIdConnectOptions 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 |
ActionOpenIdConnectOptions 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 |
ActionOpenIdConnectOptions Function allowing option customization. |
Returns | |
---|---|
Type | Description |
AuthenticationBuilder |
The current . |