Tip |
---|
Available from CRM.COM R11.1.0 |
Table of Contents | ||
---|---|---|
|
POST tucano/subscriber/authenticate
This method authenticates a subscriber against CRM.COM provisoned by AlphaNetworks Tucano system and returns a Json Web Token to indicate that the subscriber was authenticated succesfully.
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
access_token_identifier
(semi-optional)
...
The identifier of the access token related with the subscription that should be returned as a result. The allowed access token identifier fields are the following:
...
installed_item_identifier
(semi-optional)
...
The identifier of the installed item related with the subscription that should be returned as a result. The allowed installed item identifier fields are the following:
...
subscription_identifier
(semi-optional)
...
The identifier of the subscription that should be returned as a result. The allowed subscription identifier fields are the following:
...
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
subscription_id | String | The ID of the subscription as defined in CRM.COM |
jwt | Json Web Token | The Json Web Token used for authentication purposes. The JWT header includes the following attributes: alg,typ The JWT payload includes the following attributes: username, iat, exp |
Examples
Expand | ||||||
---|---|---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"35108255345D4F98ABFD7810A08E432F",
"subscription_identifier":{"number":"S0000000329"}
} |
Response:
theme | Confluence |
---|---|
language | javascript |
linenumbers | true |
name | blue |
---|
Child pages (Children Display) | ||||
---|---|---|---|---|
|