final | |
---|---|
implements |
AccessTokenInterface, Immutable, Readable |
uses |
ReadsProtectedProperties |
A token issued by an authorization provider for access to protected resources
Methods | ||
---|---|---|
public
|
__construct(
string $token,
string $type,
DateTimeInterface|int|null $expires,
string[]|null $scopes = null,
array<string, mixed>|null $claims = null,
)
|
# |
public
|
getToken(): string
|
# |
public
|
getTokenType(): string
|
# |
Methods used from Salient\Core\Concern\ReadsProtectedProperties |
---|
getReadableProperties() |
Properties | |||
---|---|---|---|
public
readonly
|
string
|
$Token
|
# |
public
readonly
|
string
|
$Type
|
# |
public
readonly
|
DateTimeImmutable|null
|
$Expires
|
# |
public
readonly
|
string[]
|
$Scopes
|
# |
public
readonly
|
array<string, mixed>
|
$Claims
|
# |