GoogleOAuth2AuthenticationMiddleware Constructor

Initializes a GoogleOAuth2AuthenticationMiddleware

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

Syntax

'Declaration
Public Sub New ( _
    next As OwinMiddleware, _
    app As IAppBuilder, _
    options As GoogleOAuth2AuthenticationOptions _
)
'Usage
Dim next As OwinMiddleware 
Dim app As IAppBuilder 
Dim options As GoogleOAuth2AuthenticationOptions 

Dim instance As New GoogleOAuth2AuthenticationMiddleware(next, app, _
    options)
public GoogleOAuth2AuthenticationMiddleware(
    OwinMiddleware next,
    IAppBuilder app,
    GoogleOAuth2AuthenticationOptions options
)
public:
GoogleOAuth2AuthenticationMiddleware(
    OwinMiddleware^ next, 
    IAppBuilder^ app, 
    GoogleOAuth2AuthenticationOptions^ options
)
new : 
        next:OwinMiddleware * 
        app:IAppBuilder * 
        options:GoogleOAuth2AuthenticationOptions -> GoogleOAuth2AuthenticationMiddleware
public function GoogleOAuth2AuthenticationMiddleware(
    next : OwinMiddleware, 
    app : IAppBuilder, 
    options : GoogleOAuth2AuthenticationOptions
)

Parameters

  • app
    Type: IAppBuilder
    The OWIN application

See Also

Reference

GoogleOAuth2AuthenticationMiddleware Class

Microsoft.Owin.Security.Google Namespace