Authentication

Create an authentication token from an authorization code.

post/auth/token

Request

  • Base URL: https://api.armor.com
  • URL: https://api.armor.com/auth/token
  • Auth: none declared

Request body

grant_typestring
codestring

Example request

{
  "grant_type": "authorization_code",
  "code": "VGhpcyBpcyBzb21lIHRleHQgdG8gY29udmVydCB2aWEgQ3J5cHQu="
}

Response

OK

access_tokenstring

Gets or sets the access token used to assert access to and permissions within an application.

id_tokenstring

Gets or sets the JWT token providing basic user identity.

expires_ininteger

Gets or sets the expiration of the included tokens (in seconds from now).

token_typestring

Gets the token type.

refresh_tokenstring

Gets or sets the refresh token.

Changes

No recorded changes to this operation across all 1 revision of this API.