TokenRepositoryInterface
interface TokenRepositoryInterface (View source)
Interface TokenRepositoryInterface.
Methods
create(array $attributes)
Create token.
TokenInterface|null
retrieve(string $access_token = null)
Retrieve token.
update(mixed $access_token, array $attributes)
Updates token.
void
delete(string $access_token)
Destroy token.
Details
at line 20
TokenInterface
create(array $attributes)
Create token.
at line 33
TokenInterface|null
retrieve(string $access_token = null)
Retrieve token.
Specified token, or any token available in storage.
at line 45
TokenInterface
update(mixed $access_token, array $attributes)
Updates token.
at line 56
void
delete(string $access_token)
Destroy token.