Skip to main content

Stored_AccessToken


Stored_AccessToken

Properties​

alias​

public string $alias

created​

public string $created

id​

public int $id

name​

public string $name

type​

public \Onslip360\API\AccessToken\Type $type

updated​

public string $updated

user​

public int $user

client​

public int|null $client

deleted​

public string|null $deleted

external​

public bool|null $external

key​

public string|null $key

labels​

public array|null $labels

location​

public int|null $location

permissions​

public array|null $permissions

tags​

public array|null $tags

updatedBy​

public int|null $updatedBy

updatedFrom​

public int|null $updatedFrom

Methods​

__construct​

public __construct(string $alias, string $created, int $id, string $name, \Onslip360\API\AccessToken\Type $type, string $updated, int $user, int|null $client = null, string|null $deleted = null, bool|null $external = null, string|null $key = null, int[]|null $labels = null, int|null $location = null, \Onslip360\API\Permission[]|null $permissions = null, string[]|null $tags = null, int|null $updatedBy = null, int|null $updatedFrom = null): mixed

Parameters:

ParameterTypeDescription
$aliasstring
$createdstring
$idint
$namestring
$type\Onslip360\API\AccessToken\Type
$updatedstring
$userint
$clientint|null
$deletedstring|null
$externalbool|null
$keystring|null
$labelsint[]|null
$locationint|null
$permissions\Onslip360\API\Permission[]|null
$tagsstring[]|null
$updatedByint|null
$updatedFromint|null

Inherited methods​

getExtended​

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended​

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson​

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray​

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize​

public jsonSerialize(): array|object


Automatically generated on 2026-06-17