GoogleApi Class |
Namespace: Limilabs.Client.Authentication.Google
The GoogleApi type exposes the following members.
Name | Description | |
---|---|---|
GoogleApi(String) |
Creates new instance of this class.
| |
GoogleApi(OAuthToken, OAuthToken) |
Creates new instance of this class.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetContacts |
Gets all contacts of the default user.
You need to specify ContactsScope when calling GetAuthorizationUrl(ListGoogleScope) or GetAuthorizationUrl(String, ListGoogleScope) to be able to use this method.
| |
GetContacts(String) |
Gets all contacts of the specified user.
You need to specify ContactsScope when calling GetAuthorizationUrl(ListGoogleScope) or GetAuthorizationUrl(String, ListGoogleScope) to be able to use this method.
| |
GetEmail |
Gets email address of the user using https://www.googleapis.com/userinfo/v2/me endpoint.
You need to specify UserInfoEmailScope scope to be able to use this method.
| |
GetEmailPlus | Obsolete.
Gets email address of the user using https://www.googleapis.com/plus/v1/people/me endpoint.
You need to specify EmailScope to be able to use this method.
Remember to turn on "Google+ API" in Google Developer Console.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RevokeToken |
Revokes specified token.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |