Table of Contents

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

builder AuthenticationBuilder

The authentication builder used to register authentication handlers.

options ApplicationExternalAuthenticationProviderOptions

The Google provider options.

Returns

AuthenticationBuilder

The same AuthenticationBuilder instance for chaining.