Sdílet prostřednictvím


GoogleOAuth2AuthenticationMiddleware Class

 

OWIN middleware for authenticating users using Google OAuth 2.0

Namespace:   Microsoft.Owin.Security.Google
Assembly:  Microsoft.Owin.Security.Google (in Microsoft.Owin.Security.Google.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.OwinMiddleware
    Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware<TOptions>
      Microsoft.Owin.Security.Google.GoogleOAuth2AuthenticationMiddleware

Syntax

public class GoogleOAuth2AuthenticationMiddleware : AuthenticationMiddleware<GoogleOAuth2AuthenticationOptions>
public ref class GoogleOAuth2AuthenticationMiddleware : AuthenticationMiddleware<GoogleOAuth2AuthenticationOptions^>
type GoogleOAuth2AuthenticationMiddleware = 
    class
        inherit AuthenticationMiddleware<GoogleOAuth2AuthenticationOptions>
    end
Public Class GoogleOAuth2AuthenticationMiddleware
    Inherits AuthenticationMiddleware(Of GoogleOAuth2AuthenticationOptions)

Constructors

Name Description
System_CAPS_pubmethod GoogleOAuth2AuthenticationMiddleware(OwinMiddleware, IAppBuilder, GoogleOAuth2AuthenticationOptions)

Initializes a GoogleOAuth2AuthenticationMiddleware

Properties

Name Description
System_CAPS_protproperty Next

The optional next component.(Inherited from OwinMiddleware.)

System_CAPS_pubproperty Options

Gets or sets the authentication options.(Inherited from AuthenticationMiddleware<TOptions>.)

Methods

Name Description
System_CAPS_protmethod CreateHandler()

Provides the AuthenticationHandler object for processing authentication-related requests.(Overrides AuthenticationMiddleware<TOptions>.CreateHandler().)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Invoke(IOwinContext)

(Inherited from AuthenticationMiddleware<TOptions>.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.Security.Google Namespace

Return to top