Dela via


GoogleMiddleware Class

Definition

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

public ref class GoogleMiddleware : Microsoft::AspNetCore::Authentication::OAuth::OAuthMiddleware<Microsoft::AspNetCore::Builder::GoogleOptions ^>
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>)

Initializes a new GoogleMiddleware.

Properties

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

Methods

CreateHandler()

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

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

Applies to