| IAgentGetOrCreateAuthenticationToken Method |
Get the existing authentication token associated with the specified module,
or create a new authentication token if it's not defined and return it.
Namespace:
AskiaFieldCom
Assembly:
AskiaFieldCom (in AskiaFieldCom.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax IResult<string> GetOrCreateAuthenticationToken(
IModule module
)
IResult<String^>^ GetOrCreateAuthenticationToken(
IModule^ module
)
Parameters
- module
- Type: AskiaFieldComIModule
Module for which to obtain the authentication token.
Return Value
Type:
IResultString
Returns the authentication token associated with the current agent and the specified module.
Remarks
It always create a permanent authentication token.
Remarks
The user must be created first.
See Also