class OAuthToken extends Dto (View source)

OAuthToken

Properties

int $create_time

Created time

string $access_token

Value of token

string $token_type

Token type

int $expires_in

Expires time for the token

string $autentication_key

Autentication key

Methods

array
GetSubObjects()

Get array with mapping which property is object and what type of object.

from  Dto
array
GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

from  Dto
array
GetReadOnlyProperties()

Get array with read only properties - not used in response To be overridden in child class if has any read-only properties.

from  Dto
__construct()

Constructor

bool
IsExpired()

Check that current tokens are expire and return true if yes

GetAutenticationKey()

No description

Details

array GetSubObjects()

Get array with mapping which property is object and what type of object.

To be overridden in child class if has any sub objects.

Return Value

array

array GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

Return Value

array

array GetReadOnlyProperties()

Get array with read only properties - not used in response To be overridden in child class if has any read-only properties.

Return Value

array

__construct()

Constructor

bool IsExpired()

Check that current tokens are expire and return true if yes

Return Value

bool

GetAutenticationKey()

No description