OAuth2Token
The OAuth 2.0 token object
{
"scope": "\"admin openid\"",
"access_token": "\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9xxxxHVcA76zjsGN2w...\"",
"token_type": "\"Bearer\"",
"expires_in": 21599,
"refresh_token": "21599",
"id_token": "string"
}
The scope of the access token issued. The value is expressed as a list of space- delimited, case-sensitive strings.
The requested access token. This token can now be used to call VMware Identity Manager APIs. For example, with the 'Bearer' token type, use 'Bearer <this access token value>' as the 'Authorization' header. The access token is a JSON web token (JWT).
The access token type. It provides the client with the information required to successfully utilize the access token to make a protected resource request. For example, the 'Bearer' token type is utilized by simply including the access token string in the request: Authorization: Bearer mF_9.B5f-4.1JqM
The time (in seconds) in which this token expires. If the return value is positive, the access token is going to expire in that many seconds. If the return value is 0, the access token already expired. If the return value is -1, token state could not be determined, since the access token doesn't contain expiration value.
The refresh token associated with the access token, if any. This refresh token can be used to request a refresh for the associated access token.
ID Token value as defined by OpenID Connect 1.0