Bearer token response
Authentication via either grant type to IAS will result in the same response – a JWT bearer token, also called an Access Token.
Success response example
{
"access_token"
:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.XbPfbIHMI6arZ3Y922BhjWgQzWXcXNrz0ogtVhfEd2o,
"client_id": "Nagra_test_device_0123",
“accountId”: “Account123”,
"token_type"
:"bearer"
,
"expires_in"
:
3600
}
Parameter | Type | Cardinality | Description | Always provided |
---|---|---|---|---|
access_token | string | 1..1 | A JWT bearer token | Yes |
client_id | string | 1..1 | The client id of the managed device | Yes |
accountId | string | 1..1 | The account id of the account | Yes |
token_type | string | 1..1 | The token type, always "bearer" | Yes |
expires_in | number | 1..1 | The number of seconds before the token expires | Yes |