auth.login_ex_continue ====================== Continue in-progress authentication attempt. This endpoint should be called to continue an auth.login_ex attempt that returned OTP_REQUIRED. This is a convenience wrapper around auth.login_ex for API consumers. params: mechanism: the mechanism by which to continue authentication. Currently the only supported mechanism here is OTP_TOKEN. OTP_TOKEN otp_token: one-time password token. This is only permitted if a previous auth.login_ex call responded with "OTP_REQUIRED". returns: JSON object containing the following keys: `response_type` - will be one of the following: SUCCESS - continued auth was required OTP_REQUIRED - otp token was rejected. API consumer may call this endpoint again with correct OTP token. AUTH_ERR - invalid OTP token submitted too many times. .. raw:: html
"OTP_TOKEN"
"SUCCESS"
name of the user
full username or comment field
user home directory
user command line interpreter
numerical user id of the user
numerical group id for the user's primary group
optional list of group ids for groups of which this account is a member. If get_groups
is not specified,
this value will be null.
optional SID value for the account that is present if sid_info
is specified in payload.
the source for the user account.
boolean value indicating whether the account is local to TrueNAS or provided by a directory service.
"AUTH_ERR"
"EXPIRED"
"OTP_REQUIRED"
"REDIRECT"