Click or drag to resize

GmailOAuth Methods

The GmailOAuth type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAccessToken
Contacts Google to exchange an authorized request token for an access token.
Public methodGetAuthorizationUrl
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.
Public methodGetAuthorizationUrl(String)
Gets url you should redirect your user to, in order for him to authorize Google access. Default scopes are ImapAndSmtp and UserInfoEmailScope
Public methodGetAuthorizationUrl(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.
Public methodGetAuthorizationUrl(String, ListGoogleScope)
Gets url you should redirect your user to, in order for him to authorize IMAP access.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetXOAuthKeyForImap
Gets XOAuthKey that can be used by LoginOAUTH(String) and RevokeToken(String) methods.
Public methodGetXOAuthKeyForImap(String)
Gets XOAuthKey that can be used by LoginOAUTH(String) and RevokeToken(String) methods.
Public methodGetXOAuthKeyForSmtp
Gets XOAuthKey that can be used by LoginOAUTH(String) and RevokeToken(String) methods.
Public methodGetXOAuthKeyForSmtp(String)
Gets XOAuthKey that can be used by LoginOAUTH(String) and RevokeToken(String) methods.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRevokeToken
Public methodSetAccessToken
Sets access token. Typically you don't need to use this method, as GetAccessToken(String) methods retrieves access token for you.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also