GoogleAppBuilderExtensions.UseGoogleAuthentication GoogleAppBuilderExtensions.UseGoogleAuthentication GoogleAppBuilderExtensions.UseGoogleAuthentication Method

Definition

Overloads

UseGoogleAuthentication(IApplicationBuilder) UseGoogleAuthentication(IApplicationBuilder) UseGoogleAuthentication(IApplicationBuilder)

UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Adds the GoogleMiddleware middleware to the specified IApplicationBuilder, which enables Google authentication capabilities.

UseGoogleAuthentication(IApplicationBuilder) UseGoogleAuthentication(IApplicationBuilder) UseGoogleAuthentication(IApplicationBuilder)

Warning

This API is now obsolete.

UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

[System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder) As IApplicationBuilder

Parameters

Returns

A reference to this instance after the operation has completed.

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Warning

This API is now obsolete.

UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

[System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Google.GoogleOptions options);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Google.GoogleOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder, options As GoogleOptions) As IApplicationBuilder

Parameters

options
GoogleOptions GoogleOptions GoogleOptions

A GoogleOptions that specifies options for the handler.

Returns

A reference to this instance after the operation has completed.

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Adds the GoogleMiddleware middleware to the specified IApplicationBuilder, which enables Google authentication capabilities.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.GoogleOptions options);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.GoogleOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder, options As GoogleOptions) As IApplicationBuilder

Parameters

options
GoogleOptions GoogleOptions GoogleOptions

A GoogleOptions that specifies options for the middleware.

Returns

A reference to this instance after the operation has completed.

Applies to