Any expired Tokens in the ISToken table will be deleted.
| Name | Type | Optional | ByRef | Description |
|---|---|---|---|---|
| type | iseTokenType | The Token Type. | ||
| token | String | ByRef | The new Token. | |
| expirySeconds | Integer | Optional | The number of seconds for which the Token is valid. If omitted, this will be 60. If omitted, a value of 60 is assumed. | |
| notes | String | Optional | Any Notes to record against the Token. | |
| properties | String | Optional | Additional Properties to record. | |
| contextPrefix | String | Optional | A Prefix to add to the token record in the database to identify its context. Only used for PortalMultiFactorAuthenticationCode type Tokens. | |
| userPk | Integer | Optional | If omitted, a value of -1 is assumed. |
A Boolean value indicating success.