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
JSON
{
"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 |
|---|---|---|---|---|
|
|
string |
1..1 |
A JWT bearer token |
Yes |
|
|
string |
1..1 |
The client id of the managed device |
Yes |
|
|
string |
1..1 |
The account id of the account |
Yes |
|
|
string |
1..1 |
The token type, always "bearer" |
Yes |
|
|
number |
1..1 |
The number of seconds before the token expires |
Yes |