TokenProvider
TokenProvider class
Class TokenProvider allows to retrieve access token for mail services.
The TokenProvider type exposes the following members:
Properties
| Name | Description |
|---|---|
| use_basic_authorization | Gets or sets value which indicates whether basic authorization is used |
| login | Gets or sets login for basic authorization |
| password | Gets or sets password for basic authorization |
| request_url | The url to obtain access token. |
| client_id | The client ID obtained during application registration. |
| client_secret | The client secret obtained during application registration. |
| refresh_token | OAuth 2.0 refresh token |
Methods
| Name | Description |
|---|---|
| get_access_token() | |
| get_access_token(ignore_existing_token) | |
| get_instance(request_url, client_id, client_secret, refresh_token) |
See Also
- namespace aspose.email.clients
- assembly Aspose.Email