GoogleOAuth2AuthenticationProvider Class
Default IGoogleOAuth2AuthenticationProvider implementation.
Namespace: Microsoft.Owin.Security.Google
Assembly: Microsoft.Owin.Security.Google (in Microsoft.Owin.Security.Google.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.Google.GoogleOAuth2AuthenticationProvider
Syntax
public class GoogleOAuth2AuthenticationProvider : IGoogleOAuth2AuthenticationProvider
public ref class GoogleOAuth2AuthenticationProvider : IGoogleOAuth2AuthenticationProvider
type GoogleOAuth2AuthenticationProvider =
class
interface IGoogleOAuth2AuthenticationProvider
end
Public Class GoogleOAuth2AuthenticationProvider
Implements IGoogleOAuth2AuthenticationProvider
Constructors
Name | Description | |
---|---|---|
GoogleOAuth2AuthenticationProvider() | Initializes a GoogleOAuth2AuthenticationProvider |
Properties
Name | Description | |
---|---|---|
OnApplyRedirect | Gets or sets the delegate that is invoked when the ApplyRedirect method is invoked. |
|
OnAuthenticated | Gets or sets the function that is invoked when the Authenticated method is invoked. |
|
OnReturnEndpoint | Gets or sets the function that is invoked when the ReturnEndpoint method is invoked. |
Methods
Name | Description | |
---|---|---|
ApplyRedirect(GoogleOAuth2ApplyRedirectContext) | Called when a Challenge causes a redirect to authorize endpoint in the Google OAuth 2.0 middleware |
|
Authenticated(GoogleOAuth2AuthenticatedContext) | Invoked whenever Google succesfully authenticates a user |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ReturnEndpoint(GoogleOAuth2ReturnEndpointContext) | Invoked prior to the ClaimsIdentity being saved in a local cookie and the browser being redirected to the originally requested URL. |
|
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