asnGetUserToken

ArgumentType: AsnGetUserTokenArgument

AsnGetUserTokenArgument is an Object

Name Type Optional Comment
iType number yes Type of token (AsnUserTokenType, default eUserTokenExternal)

(Linked Type: AsnUserTokenType)
iTTL number yes Desired Time to live in seconds (default 24 hours)

lstServiceType UTF8StringList yes List of Service Types e.g. FAQ, RANKING

lstProfileAttributes AsnProfileAttributeList yes List from profile values added as public claim as [Service_type]/[Profile elementname] : [Profile elementvalue]

ResultType: AsnGetUserTokenResult

AsnGetUserTokenResult is an Object

Name Type Optional Comment
sToken string JWT Token

ErrorType: AsnRequestError

AsnRequestError is an Object

Name Type Optional Comment
iErrorDetail number
u8sErrorString string
optionalParams AsnOptionalParameters yes

Version 6.1