TokenRequest resource

Methods

  • post - Get/refresh a token

Resource

{
    "clientSecret": "string",
    "grantType": "string",
    "password": "string",
    "realmName": "string",
    "refreshToken": "string",
    "username": "string"
}

Properties

Name Type Description Additional
clientSecret string

client Secret

Optional
grantType string

client ID

Possible values are:

  • password
  • refresh_token
  • client_credentials
Optional
password string

password

Optional
realmName string

realm name

refreshToken string Optional
username string

Username

Optional

Example

{
    "clientSecret": "123-123-123-123",
    "grantType": "PASSWORD",
    "password": "XdefH!E",
    "realmName": "com2us",
    "username": "jdoe"
}