Class GoogleAuthenticationServiceExtensions
- Namespace
- ProjectTemplate.Web.Authentication.Providers.Google
- Assembly
- ProjectTemplate.Web.dll
Provides extension methods for registering Google authentication provider services.
public static class GoogleAuthenticationServiceExtensions
- Inheritance
-
GoogleAuthenticationServiceExtensions
- Inherited Members
Methods
AddGoogleAuthentication(AuthenticationBuilder, ApplicationExternalAuthenticationProviderOptions)
Adds the Google authentication provider registration.
public static AuthenticationBuilder AddGoogleAuthentication(this AuthenticationBuilder builder, ApplicationExternalAuthenticationProviderOptions options)
Parameters
builderAuthenticationBuilderThe authentication builder used to register authentication handlers.
optionsApplicationExternalAuthenticationProviderOptionsThe Google provider options.
Returns
- AuthenticationBuilder
The same AuthenticationBuilder instance for chaining.