GoogleOAuth2ApplyRedirectContext Constructor (IOwinContext, GoogleOAuth2AuthenticationOptions, AuthenticationProperties, String)
Creates a new context object.
Namespace: Microsoft.Owin.Security.Google
Assembly: Microsoft.Owin.Security.Google (in Microsoft.Owin.Security.Google.dll)
Syntax
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 Sub New (
context As IOwinContext,
options As GoogleOAuth2AuthenticationOptions,
properties As AuthenticationProperties,
redirectUri As String
)
Parameters
context
Type: Microsoft.Owin.IOwinContextThe OWIN request context
options
Type: Microsoft.Owin.Security.Google.GoogleOAuth2AuthenticationOptionsThe Google OAuth 2.0 middleware options
properties
Type: Microsoft.Owin.Security.AuthenticationPropertiesThe authenticaiton properties of the challenge
redirectUri
Type: System.StringThe initial redirect URI
See Also
GoogleOAuth2ApplyRedirectContext Class
Microsoft.Owin.Security.Google Namespace
Return to top