AccessToken Property

The access token returned by the authorization server.

Object Oriented Interface

public function getAccessToken();
public function setAccessToken($value);

Procedural Interface

cloudmail_oauth_get($res, 1 );
cloudmail_oauth_set($res, 1, $value );

Default Value

''

Remarks

This property will be populated with the access token returned by the authorization server after a call to GetAuthorization. This will be the raw access token, whereas the return value from the GetAuthorization method will also include the required data so it can be passed directly to the Authorization property of the components or added as the value of the Authorization header in another client implementation.

Data Type

String

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Mail 2020 PHP Edition - Version 20.0 [Build 7718]