Use tokens to facilitate authentication to the Run:ai API. The API server must be configured to use the Run:ai identity service to validate authentication tokens.
Use to create application tokens. Select a token using the grant_type
parameter.
Executed successfully.
Bad request.
unexpected error
unexpected error
{- "grantType": "app_token",
- "appID": "string",
- "appSecret": "string",
- "code": "string",
- "redirectUri": "string",
- "refreshToken": "string",
- "username": "string",
- "password": "string",
- "clientID": "string"
}
{- "accessToken": "string",
- "idToken": "string",
- "refreshToken": "string",
- "externalToken": "string"
}
Exchanges an authorization code for an access token. The authorization code is retrieved from the authorization server.
Executed successfully.
Bad request.
unexpected error
unexpected error
{- "accessToken": "string",
- "idToken": "string",
- "refreshToken": "string",
- "externalToken": "string"
}
Refreshes an user tokens. The refresh token is retrieved from the authorization server.
Executed successfully.
Bad request.
unexpected error
unexpected error
{- "accessToken": "string",
- "idToken": "string",
- "refreshToken": "string",
- "externalToken": "string"
}
Retrieve access token for an application. The application token is retrieved from the authorization server.
Executed successfully.
Bad request.
unexpected error
unexpected error
{- "id": "string",
- "name": "string",
- "secret": "string"
}
{- "access_token": "string",
- "id_token": "string"
}