-
Aws\Token\Token
implements
Aws\Token\TokenInterface,
Serializable
-
Aws\Token\SsoToken
- Namespace: Aws\Token
- Located at Token/SsoToken.php
-
Token that comes from the SSO provider
Methods Summary
Methods Details
__construct (
string
$token,
integer
$expires,
integer
$refreshToken = null,
integer
$clientId = null,
integer
$clientSecret = null,
integer
$registrationExpiresAt = null,
integer
$region = null,
integer
$startUrl = null
)
Constructs a new SSO token object, with the specified AWS
token
Parameters
string |
$token
|
Security token to use |
integer |
$expires
|
UNIX timestamp for when the token expires |
integer |
$refreshToken
= null
|
An opaque string returned by the sso-oidc service |
integer |
$clientId
= null
|
The client ID generated when performing the registration portion of the OIDC authorization flow |
integer |
$clientSecret
= null
|
The client secret generated when performing the registration portion of the OIDC authorization flow |
integer |
$registrationExpiresAt
= null
|
The expiration time of the client registration (clientId and clientSecret) |
integer |
$region
= null
|
The configured sso_region for the profile that credentials are being resolved for |
integer |
$startUrl
= null
|
The configured sso_start_url for the profile that credentials are being resolved for |
Overrides
string|null
getRefreshToken (
)
string|null
getClientId (
)
string|null
getClientSecret (
)
integer|null
getRegistrationExpiresAt (
)
string|null
getRegion (
)
string|null
getStartUrl (
)
Creates an instance of SsoToken from a token data.
Parameters
Returns