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 | 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 |
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 | Serves as the default hash function. (Inherited from Object.) |
![]() ![]() | GetInstance |
Gets an instance of the OutlookTokenProvider for defined parameters.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |