TokenProvider Class |
Namespace: Aspose.Email.Clients
The TokenProvider type exposes the following members.
Name | Description | |
---|---|---|
ClientId |
The client ID obtained during application registration.
| |
ClientSecret |
The client secret obtained during application registration.
| |
ExtraParameters |
Gets extra parameters for request
| |
Login |
Gets or sets login for basic authorization
| |
Password |
Gets or sets password for basic authorization
| |
RefreshToken |
OAuth 2.0 refresh token
| |
RequestUrl |
The url to obtain access token.
| |
UseBasicAuthorization |
Gets or sets value which indicates whether basic authorization is used
|
Name | Description | |
---|---|---|
Dispose |
Performs releasing resources.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetAccessToken |
Gets oAuth access token.
If token exists and its expiration date is not expired returns current token, otherwise requests new token from a server.
| |
GetAccessToken(Boolean) |
Gets oAuth access token.
| |
GetHashCode | (Inherited from Object.) | |
GetInstance |
Gets an instance of the OutlookTokenProvider for defined parameters.
| |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |