GmailOAuth Methods |
The GmailOAuth type exposes the following members.
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.) | |
GetAccessToken |
Contacts Google to exchange an authorized request token for an access token.
| |
GetAuthorizationUrl |
Gets url you should redirect your user to, in order for him to authorize IMAP access.
This method uses oob instead of callback this means that your user will need to copy verification code to your application.
| |
GetAuthorizationUrl(String) |
Gets url you should redirect your user to, in order for him to authorize Google access.
Default scopes are ImapAndSmtp and UserInfoEmailScope | |
GetAuthorizationUrl(ListGoogleScope) |
Gets url you should redirect your user to, in order for him to authorize IMAP access.
This method uses oob instead of callback this means that your user will need to copy verification code to your application.
| |
GetAuthorizationUrl(String, ListGoogleScope) |
Gets url you should redirect your user to, in order for him to authorize IMAP access.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetXOAuthKeyForImap |
Gets XOAuthKey that can be used by LoginOAUTH(String) and RevokeToken(String) methods.
| |
GetXOAuthKeyForImap(String) |
Gets XOAuthKey that can be used by LoginOAUTH(String) and RevokeToken(String) methods.
| |
GetXOAuthKeyForSmtp |
Gets XOAuthKey that can be used by LoginOAUTH(String) and RevokeToken(String) methods.
| |
GetXOAuthKeyForSmtp(String) |
Gets XOAuthKey that can be used by LoginOAUTH(String) and RevokeToken(String) methods.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RevokeToken |
Revokes access for specified token (retrieved using GetXOAuthKeyForImap or GetXOAuthKeyForSmtp method)
| |
SetAccessToken |
Sets access token. Typically you don't need to use this method, as GetAccessToken(String) methods retrieves access token for you.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |