Click or drag to resize

GetTokenModel Class

This class is the model for validating and renewing token data
Inheritance Hierarchy
SystemObject
  AppOne.Services.V2.ContractsGetTokenModel

Namespace: AppOne.Services.V2.Contracts
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public class GetTokenModel

The GetTokenModel type exposes the following members.

Properties
 NameDescription
Public propertyAuthToken The token string that is to be evaluated.
Public propertyMessage A message based on the action
Public propertySuccess Is the token string valid or was it successfully renewed
Top
Remarks
This class is the model for validating and renewing token data. The model defines the base get model for an authentication token that has already been generated with the CreateToken(CreateTokenIn) method.

Note  Note
Once a token has been created there is a 2 hour limit on the token. Once the token dies it is no good. The renew method would need to be called within the 2 hour time window, to reset the two hour limit.
Example
For example code see GetToken(GetTokenIn)
See Also