GoogleOAuth2ApplyRedirectContext Constructor
Creates a new context object.
Namespace: Microsoft.Owin.Security.Google
Assembly: Microsoft.Owin.Security.Google (in Microsoft.Owin.Security.Google.dll)
Syntax
'Declaration
Public Sub New ( _
context As IOwinContext, _
options As GoogleOAuth2AuthenticationOptions, _
properties As AuthenticationProperties, _
redirectUri As String _
)
'Usage
Dim context As IOwinContext
Dim options As GoogleOAuth2AuthenticationOptions
Dim properties As AuthenticationProperties
Dim redirectUri As String
Dim instance As New GoogleOAuth2ApplyRedirectContext(context, _
options, properties, redirectUri)
public GoogleOAuth2ApplyRedirectContext(
IOwinContext context,
GoogleOAuth2AuthenticationOptions options,
AuthenticationProperties properties,
string redirectUri
)
public:
GoogleOAuth2ApplyRedirectContext(
IOwinContext^ context,
GoogleOAuth2AuthenticationOptions^ options,
AuthenticationProperties^ properties,
String^ redirectUri
)
new :
context:IOwinContext *
options:GoogleOAuth2AuthenticationOptions *
properties:AuthenticationProperties *
redirectUri:string -> GoogleOAuth2ApplyRedirectContext
public function GoogleOAuth2ApplyRedirectContext(
context : IOwinContext,
options : GoogleOAuth2AuthenticationOptions,
properties : AuthenticationProperties,
redirectUri : String
)
Parameters
- context
Type: Microsoft.Owin.IOwinContext
The OWIN request context
- options
Type: Microsoft.Owin.Security.Google.GoogleOAuth2AuthenticationOptions
The Google OAuth 2.0 middleware options
- properties
Type: Microsoft.Owin.Security.AuthenticationProperties
The authenticaiton properties of the challenge
- redirectUri
Type: System.String
The initial redirect URI