AUTH::status

Description

Returns authentication status. The returned status is a value of 0, 1, -1, or 2, corresponding to success, failure, error, or not-authed, based on the result of the most recent authorization that the system performed for the specified authorization session .
In the case of a not-authed result, the authentication process desires a credential not yet provided. Specifics of the requested credential can be determined using the AUTH::wantcredential_ commands. The authentication process could be continued using AUTH::authenticate_continue*.

Syntax

AUTH::status <authid>

AUTH::status <authid>

  • Returns authentication status. The returned status is a value of 0, 1, -1, or 2, corresponding to success, failure, error, or not-authed, based on the result of the most recent authorization that the system performed for the specified authorization session <authid>.

Examples

when HTTP_RESPONSE {
  set authStatus [AUTH::status $authSessionId]
}