LoginToken v1.2
Generates a token
for the specified service
which can be used to log in to that service.
Generates a token
for the specified service
which can be used to log in to that service.
LoginToken can be used to generate new tokens and retrieve information about existing ones.
token
(see example).serivce
to get all tokens issued for the selected service.Attribute | Type | Filter | Sort | Description |
---|---|---|---|---|
id | int | Yes | Yes | Unique ID of the resource. |
service | enum | No | No | The service this token will be used by (currently only "sutclientapp", which is the Sign-Up.to client application). |
token | string | No | No | The generated login token. |
user_id | int | No | No | The user id of the user that created this login token. |
cdate | decimal | No | Yes | Creation timestamp. |
Attribute | Type | Presence | Description |
---|---|---|---|
id | int | Optional | Unique ID of the resource. |
Attribute | Type | Presence | Description |
---|---|---|---|
service | enum | Required | The service this token will be used by (currently only "sutclientapp", which is the Sign-Up.to client application). |
This method is not supported.
Attribute | Type | Presence | Description |
---|---|---|---|
id | int | Required | Unique ID of the resource. |
There are no error codes for this endpoint.
{ "id" : 123456, "service" : "sutclientapp", "token" : "98TdTdgtJoXLQjHAmO5FYrx0a5JiqYUp", "user_id" : 123, "cdate" : 123456 }
<?php $loginURL = "https://secure.sign-up.to/"; ?> <form method="post" action="<?=$loginURL?>"> <input type="text" name="uid" value="<?=$userID?>"/> <input type="text" name="cid" value="<?=$companyID?>"/> <input type="text" name="logintoken" value="<?=$loginToken?>"/> <input type="text" name="failureurl" value="<?=$failureRedirectURL?>"/> <input type="text" name="successurl" value="<?=$successRedirectURL?>"/> <input type="submit"> </form>