PersonalAccessTokenExtension
trait PersonalAccessTokenExtension
PersonalAccessTokenExtension trait.
This extension is supposed to be applied to Client class which provides a fetchResource
method.
Methods
getPersonalAccessToken(string $personalAccessTokenId)
Returns a PersonalAccessToken resource.
getPersonalAccessTokens(Query $query = null)
Returns a ResourceArray object containing PersonalAccessToken resources.
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
No description
Details
at line 33
getPersonalAccessToken(string $personalAccessTokenId)
Returns a PersonalAccessToken resource.
at line 45
getPersonalAccessTokens(Query $query = null)
Returns a ResourceArray object containing PersonalAccessToken resources.