GoogleMiddleware GoogleMiddleware GoogleMiddleware Class

Definition

An ASP.NET Core middleware for authenticating users using Google OAuth 2.0.

public class GoogleMiddleware : Microsoft.AspNetCore.Authentication.OAuth.OAuthMiddleware<Microsoft.AspNetCore.Builder.GoogleOptions>
type GoogleMiddleware = class
    inherit OAuthMiddleware<GoogleOptions>
Public Class GoogleMiddleware
Inherits OAuthMiddleware(Of GoogleOptions)
Inheritance

Constructors

GoogleMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<GoogleOptions>) GoogleMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<GoogleOptions>) GoogleMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<GoogleOptions>)

Initializes a new GoogleMiddleware.

Methods

CreateHandler() CreateHandler() CreateHandler()

Provides the AuthenticationHandler<TOptions> object for processing authentication-related requests.

Invoke(HttpContext) Invoke(HttpContext) Invoke(HttpContext) Inherited from AuthenticationMiddleware<TOptions>

Properties

AuthenticationScheme AuthenticationScheme AuthenticationScheme Inherited from AuthenticationMiddleware<TOptions>
Backchannel Backchannel Backchannel Inherited from OAuthMiddleware<TOptions>
Logger Logger Logger Inherited from AuthenticationMiddleware<TOptions>
Options Options Options Inherited from AuthenticationMiddleware<TOptions>
UrlEncoder UrlEncoder UrlEncoder Inherited from AuthenticationMiddleware<TOptions>

Applies to