Users
Gets a project-scoped user access token
Takes user access token, requested scope and returns project-scoped user access token.
post/users/v2/tokenExchange
Request body
Example request
{
"accessToken": "h1.2...EyS_b6g3uDcKnpknGWQ",
"scope": "hrn:here:authorization::myrealm:project/my-project-0000"
}Response
Success
The exchange was successful and a valid scoped access token was returned.
Example response
{
"accessToken": "h1.2...EyS_b6g3uDcKnpknGWQ",
"expiresIn": 86400,
"issuedTokenType": "urn:ietf:params:oauth:token-type:access_token",
"scope": "hrn:here:authorization::myrealm:project/my-project-0000",
"tokenType": "Bearer"
}