GoogleOAuth2AuthenticationProvider.ApplyRedirect Method
Called when a Challenge causes a redirect to authorize endpoint in the Google OAuth 2.0 middleware
Namespace: Microsoft.Owin.Security.Google
Assembly: Microsoft.Owin.Security.Google (in Microsoft.Owin.Security.Google.dll)
Syntax
'Declaration
Public Overridable Sub ApplyRedirect ( _
context As GoogleOAuth2ApplyRedirectContext _
)
'Usage
Dim instance As GoogleOAuth2AuthenticationProvider
Dim context As GoogleOAuth2ApplyRedirectContext
instance.ApplyRedirect(context)
public virtual void ApplyRedirect(
GoogleOAuth2ApplyRedirectContext context
)
public:
virtual void ApplyRedirect(
GoogleOAuth2ApplyRedirectContext^ context
)
abstract ApplyRedirect :
context:GoogleOAuth2ApplyRedirectContext -> unit
override ApplyRedirect :
context:GoogleOAuth2ApplyRedirectContext -> unit
public function ApplyRedirect(
context : GoogleOAuth2ApplyRedirectContext
)
Parameters
- context
Type: Microsoft.Owin.Security.Google.GoogleOAuth2ApplyRedirectContext
Contains redirect URI and AuthenticationProperties of the challenge
Implements
IGoogleOAuth2AuthenticationProvider.ApplyRedirect(GoogleOAuth2ApplyRedirectContext)