class TokenRepository implements TokenRepositoryInterface (View source)

Token repository.

Properties

protected string $product Product.

Methods

__construct(string $product)

Constructor.

create(array $attributes)

{@inheritdoc}

retrieveAll()

{@inheritdoc}

retrieve($access_token = null)

{@inheritdoc}

update($access_token, array $attributes)

{@inheritdoc}

delete($access_token)

{@inheritdoc}

Details

__construct(string $product)

Constructor.

Parameters

string $product

create(array $attributes)

{@inheritdoc}

Parameters

array $attributes

retrieveAll()

{@inheritdoc}

retrieve($access_token = null)

{@inheritdoc}

Parameters

$access_token

update($access_token, array $attributes)

{@inheritdoc}

Parameters

$access_token
array $attributes

delete($access_token)

{@inheritdoc}

Parameters

$access_token