Token
class Token extends OperatorResource implements Creatable, Retrievable, Token
Traits
Properties
| $methods | array | |
| $expires | DateTimeImmutable | |
| $project | Project | |
| $catalog | Catalog | |
| $extras | mixed | |
| $user | User | |
| $issued | DateTimeImmutable | |
| $id | string |
Methods
populateFromResponse
(ResponseInterface $response)
: AbstractResource
All models which represent an API resource should be able to be populated from a {see ResponseInterface} object.
getId
()
: string
No description
hasExpired
()
: bool
Indicates whether the token has expired or not.
retrieve
()
: void
Retrieve details of the current resource from the remote API.
Details
populateFromResponse(ResponseInterface $response)
All models which represent an API resource should be able to be populated from a {see ResponseInterface} object.