IMultipleServicesTokenProviderGetAccessToken Method (String)

Gets oAuth access token. If token exists and its expiration date is not expired returns current token, otherwise requests new token from a server.

Namespace:  Aspose.Email.Clients
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.7
Syntax
OAuthToken GetAccessToken(
	string service
)

Parameters

service
Type: SystemString
Services that this access token applies to.

Return Value

Type: OAuthToken
Returns oAuth access token
See Also