TokenProvider

TokenProvider class

Class TokenProvider allows to retrieve access token for mail services.

The TokenProvider type exposes the following members:

Properties

NameDescription
use_basic_authorizationGets or sets value which indicates whether basic authorization is used
loginGets or sets login for basic authorization
passwordGets or sets password for basic authorization
request_urlThe url to obtain access token.
client_idThe client ID obtained during application registration.
client_secretThe client secret obtained during application registration.
refresh_tokenOAuth 2.0 refresh token

Methods

NameDescription
get_access_token()
get_access_token(ignore_existing_token)
get_instance(request_url, client_id, client_secret, refresh_token)

See Also