class UserApiToken (View source)

Methods

__construct(string $token, array $payload)

Constructor.

static UserApiToken
createFromArray(array $resonse)

Create a user from the JSON data returned by the rokka.io API.

array
getPayload()

No description

string
getToken()

No description

Details

__construct(string $token, array $payload)

Constructor.

Parameters

string $token Api-Token
array $payload

the payload

static UserApiToken createFromArray(array $resonse)

Create a user from the JSON data returned by the rokka.io API.

Parameters

array $resonse

Return Value

UserApiToken

array getPayload()

No description

Return Value

array

string getToken()

No description

Return Value

string