\Clx\XmsUnauthorizedException

Exception indicating that XMS did not accept the service plan ID and authentication token.

Summary

Methods
Properties
Constants
__construct()
getServicePlanId()
getToken()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string  $servicePlanId, string  $token) 

Creates a new unauthorized exception.

Parameters

string $servicePlanId

the service plan identifier

string $token

the authentication token

getServicePlanId()

getServicePlanId() : string

Returns the service plan identifier that was rejected.

Returns

string —

a service plan identifier

getToken()

getToken() : string

Returns the authentication token that was rejected.

Returns

string —

an authentication token