GoogleOAuth2AuthenticatedContext Class
Contains information about the login session as well as the user ClaimsIdentity.
Namespace: Microsoft.Owin.Security.Google
Assembly: Microsoft.Owin.Security.Google (in Microsoft.Owin.Security.Google.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.Provider.BaseContext
Microsoft.Owin.Security.Google.GoogleOAuth2AuthenticatedContext
Syntax
public class GoogleOAuth2AuthenticatedContext : BaseContext
public ref class GoogleOAuth2AuthenticatedContext : BaseContext
type GoogleOAuth2AuthenticatedContext =
class
inherit BaseContext
end
Public Class GoogleOAuth2AuthenticatedContext
Inherits BaseContext
Constructors
Name | Description | |
---|---|---|
GoogleOAuth2AuthenticatedContext(IOwinContext, JObject, JObject) | Initializes a GoogleOAuth2AuthenticatedContext |
|
GoogleOAuth2AuthenticatedContext(IOwinContext, JObject, String, String, String) | Initializes a GoogleOAuth2AuthenticatedContext |
Properties
Name | Description | |
---|---|---|
AccessToken | Gets the Google access token |
|
Gets the user's email |
||
ExpiresIn | Gets the Google access token expiration time |
|
FamilyName | Gets the user's family name |
|
GivenName | Gets the user's given name |
|
Id | Gets the Google user ID |
|
Identity | Gets the ClaimsIdentity representing the user |
|
Name | Gets the user's name |
|
OwinContext | (Inherited from BaseContext.) |
|
Profile | Gets the user's profile link |
|
Properties | Gets or sets a property bag for common authentication properties |
|
RefreshToken | Gets the Google refresh token |
|
Request | (Inherited from BaseContext.) |
|
Response | (Inherited from BaseContext.) |
|
TokenResponse | Token response from Google |
|
User | Gets the JSON-serialized user |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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