BaseServiceValidateToken Method | |
A web service method which Validates if a token is still active and has not timed-out
Namespace: AppOne.Services.V2Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax public bool ValidateToken(
string encryptedToken
)
function ValidateToken(encryptedToken);
Parameters
- encryptedToken String
- Requires a valid token string that was returned from the CreateToken(CreateTokenIn) method.
Return Value
BooleanTrue if the token is currently active
Remarks
Use this method to validate a token that was already created. A token is a base64 encoded string that varies in length from 255-325 characters.
A token is required to perform any action or service request. When a token is created it will last for around 2 hours. To see if the tokens
session life is still valid use this method.
See Also