auth.login_ex
=============

Authenticate using one of a variety of mechanisms

NOTE: mechanisms with a _PLAIN suffix indicate that they involve passing plain-text passwords or password-equivalent strings and should not be used on untrusted / insecure transport. Available mechanisms will be expanded in future releases.

params: This takes a single argument consistning of a JSON object with the following keys:

    mechanism: the mechanism by which to authenticate to the backend the exact parameters to use vary by mechanism and are described below

    PASSWORD_PLAIN username: username with which to authenticate password: password with which to authenticate login_options: dictionary with additional authentication options

    API_KEY_PLAIN username: username with which to authenticate api_key: API key string login_options: dictionary with additional authentication options

    AUTH_TOKEN_PLAIN token: authentication token string login_options: dictionary with additional authentication options

    OTP_TOKEN otp_token: one-time password token. This is only permitted if a previous auth.login_ex call responded with "OTP_REQUIRED".

    login_options user_info: boolean - include auth.me output in successful responses. reconnect_token: boolean - include a reconnect token in successful responses.

raises: CallError: a middleware CallError may be raised in the following circumstances.

    * An multistep challenge-response authentication mechanism is being used and the specified `mechanism` does not match the expected next step for authentication. In this case the errno will be set to EBUSY.

    * OTP_TOKEN mechanism was passed without an explicit request from a previous authentication step. In this case the errno will be set to EINVAL.

    * Current authenticator assurance level prohibits the use of the specified authentication mechanism. In this case the errno will be set to EOPNOTSUPP.

returns: JSON object containing the following keys:

    response_type: string indicating the results of the current authentication mechanism. This is used to inform client of nature of authentication error or whether further action will be required in order to complete authentication.

    <additional keys per response_type>

Notes about response types:

SUCCESS: additional keys: user_info: includes auth.me output for the resulting authenticated credentials. reconnect_token: token that can be used to reauthenticate if the websocket session is interrupted, or null if not requested or not supported by the credential type.

OTP_REQUIRED additional key: username: normalized username of user who must provide an OTP token.

AUTH_ERR Generic authentication error corresponds to PAM_AUTH_ERR and PAM_USER_UNKOWN from libpam. This may be returned if the account does not exist or if the credential is incorrect.

EXPIRED The specified credential is expired and not suitable for authentication.

REDIRECT Authentication must be performed on different server.

.. raw:: html

    <div id="json-schema">
    <span class="badge badge-dark value-type">Type: object</span><br/>
    <div class="accordion" id="accordionCall_parameters">
    <div class="card">
    <div class="card-header" id="headingCall_parameters">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters" data-toggle="collapse" onclick="setAnchor('#Call_parameters')" type="button"><span class="property-name">Call parameters</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters" class="collapse property-definition-div" data-parent="#accordionCall_parameters" id="Call_parameters">
    <div class="card-body pl-5">
    <span class="badge badge-dark value-type">Type: array</span><br/>
    <span class="badge badge-info no-additional">No Additional Items</span><h4>Tuple Validation</h4>
    <h5>Parameter 1: login_data</h5>
    <div class="card">
    <div class="card-body items-definition" id="Call_parameters_items_i0">
    <h4>login_data</h4><br/>
    <span class="description"><p>Authentication data specifying mechanism and credentials.</p>
    </span><div class="one-of-value" id="Call_parameters_items_i0_oneOf"><h2 class="handle">
    <label>One of</label>
    </h2><ul class="nav nav-tabs" id="tabsCall_parameters_items_i0_oneOf_oneOf" role="tablist"><li class="nav-item">
    <a class="nav-link active oneOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i0_oneOf_i0" id="Call_parameters_items_i0_oneOf_i0" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i0')" role="tab">AuthApiKeyPlain</a>
    </li><li class="nav-item">
    <a class="nav-link oneOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i0_oneOf_i1" id="Call_parameters_items_i0_oneOf_i1" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i1')" role="tab">AuthPasswordPlain</a>
    </li><li class="nav-item">
    <a class="nav-link oneOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i0_oneOf_i2" id="Call_parameters_items_i0_oneOf_i2" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i2')" role="tab">AuthTokenPlain</a>
    </li><li class="nav-item">
    <a class="nav-link oneOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i0_oneOf_i3" id="Call_parameters_items_i0_oneOf_i3" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i3')" role="tab">AuthOTPToken</a>
    </li><li class="nav-item">
    <a class="nav-link oneOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i0_oneOf_i4" id="Call_parameters_items_i0_oneOf_i4" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i4')" role="tab">AuthSCRAM</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Call_parameters_items_i0_oneOf_i0" role="tabpanel">
    <h4>AuthApiKeyPlain</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i0_mechanism">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i0_mechanism">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i0_mechanism" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i0_mechanism" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i0_mechanism')" type="button"><span class="property-name">mechanism</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i0_mechanism" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i0_mechanism" id="Call_parameters_items_i0_oneOf_i0_mechanism">
    <div class="card-body pl-5">
    <h4>Mechanism</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication mechanism identifier for plain API key authentication.</p>
    </span><span class="const-value" id="Call_parameters_items_i0_oneOf_i0_mechanism_const">Specific value: <code>"API_KEY_PLAIN"</code></span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i0_username">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i0_username">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i0_username" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i0_username" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i0_username')" type="button"><span class="property-name">username</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i0_username" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i0_username" id="Call_parameters_items_i0_oneOf_i0_username">
    <div class="card-body pl-5">
    <h4>Username</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Username associated with the API key.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i0_api_key">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i0_api_key">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i0_api_key" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i0_api_key" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i0_api_key')" type="button"><span class="property-name">api_key</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i0_api_key" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i0_api_key" id="Call_parameters_items_i0_oneOf_i0_api_key">
    <div class="card-body pl-5">
    <h4>Api Key</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>API key for authentication.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i0_login_options">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i0_login_options">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i0_login_options" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i0_login_options" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i0_login_options')" type="button"><span class="property-name">login_options</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i0_login_options" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i0_login_options" id="Call_parameters_items_i0_oneOf_i0_login_options">
    <div class="card-body pl-5">
    <h4>AuthCommonOptions</h4><span class="badge badge-dark value-type">Type: object</span> <div class="json-default-value">Default:<div class="value">{
      "user_info": true,
      "reconnect_token": false
    }</div></div><br/>
    <span class="description"><p>Additional options for the authentication process.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i0_login_options_user_info">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i0_login_options_user_info">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i0_login_options_user_info" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i0_login_options_user_info" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i0_login_options_user_info')" type="button"><span class="property-name">user_info</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i0_login_options_user_info" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i0_login_options_user_info" id="Call_parameters_items_i0_oneOf_i0_login_options_user_info">
    <div class="card-body pl-5">
    <h4>User Info</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: true</span><br/>
    <span class="description"><p>Whether to include detailed user information in the authentication response.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i0_login_options_reconnect_token">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i0_login_options_reconnect_token">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i0_login_options_reconnect_token" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i0_login_options_reconnect_token" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i0_login_options_reconnect_token')" type="button"><span class="property-name">reconnect_token</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i0_login_options_reconnect_token" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i0_login_options_reconnect_token" id="Call_parameters_items_i0_oneOf_i0_login_options_reconnect_token">
    <div class="card-body pl-5">
    <h4>Reconnect Token</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: false</span><br/>
    <span class="description"><p>Whether to include a reauthentication token in the authentication response. The <code>ttl</code> for the     generated token depends on the TrueNAS webui setting for preferences-&gt;lifetime, with a default     value of 600 seconds.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Call_parameters_items_i0_oneOf_i1" role="tabpanel">
    <h4>AuthPasswordPlain</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i1_mechanism">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i1_mechanism">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i1_mechanism" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i1_mechanism" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i1_mechanism')" type="button"><span class="property-name">mechanism</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i1_mechanism" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i1_mechanism" id="Call_parameters_items_i0_oneOf_i1_mechanism">
    <div class="card-body pl-5">
    <h4>Mechanism</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication mechanism identifier for plain password authentication.</p>
    </span><span class="const-value" id="Call_parameters_items_i0_oneOf_i1_mechanism_const">Specific value: <code>"PASSWORD_PLAIN"</code></span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i1_username">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i1_username">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i1_username" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i1_username" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i1_username')" type="button"><span class="property-name">username</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i1_username" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i1_username" id="Call_parameters_items_i0_oneOf_i1_username">
    <div class="card-body pl-5">
    <h4>Username</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Username for authentication.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i1_password">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i1_password">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i1_password" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i1_password" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i1_password')" type="button"><span class="property-name">password</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i1_password" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i1_password" id="Call_parameters_items_i0_oneOf_i1_password">
    <div class="card-body pl-5">
    <h4>Password</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Password for authentication.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i1_login_options">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i1_login_options">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i1_login_options" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i1_login_options" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i1_login_options')" type="button"><span class="property-name">login_options</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i1_login_options" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i1_login_options" id="Call_parameters_items_i0_oneOf_i1_login_options">
    <div class="card-body pl-5">
    <h4>AuthCommonOptions</h4><span class="badge badge-dark value-type">Type: object</span> <div class="json-default-value">Default:<div class="value">{
      "user_info": true,
      "reconnect_token": false
    }</div></div><br/>
    <span class="description"><p>Additional options for the authentication process.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i1_login_options_user_info">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i1_login_options_user_info">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i1_login_options_user_info" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i1_login_options_user_info" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i1_login_options_user_info')" type="button"><span class="property-name">user_info</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i1_login_options_user_info" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i1_login_options_user_info" id="Call_parameters_items_i0_oneOf_i1_login_options_user_info">
    <div class="card-body pl-5">
    <h4>User Info</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: true</span><br/>
    <span class="description"><p>Whether to include detailed user information in the authentication response.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i1_login_options_reconnect_token">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i1_login_options_reconnect_token">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i1_login_options_reconnect_token" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i1_login_options_reconnect_token" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i1_login_options_reconnect_token')" type="button"><span class="property-name">reconnect_token</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i1_login_options_reconnect_token" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i1_login_options_reconnect_token" id="Call_parameters_items_i0_oneOf_i1_login_options_reconnect_token">
    <div class="card-body pl-5">
    <h4>Reconnect Token</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: false</span><br/>
    <span class="description"><p>Whether to include a reauthentication token in the authentication response. The <code>ttl</code> for the     generated token depends on the TrueNAS webui setting for preferences-&gt;lifetime, with a default     value of 600 seconds.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Call_parameters_items_i0_oneOf_i2" role="tabpanel">
    <h4>AuthTokenPlain</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i2_mechanism">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i2_mechanism">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i2_mechanism" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i2_mechanism" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i2_mechanism')" type="button"><span class="property-name">mechanism</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i2_mechanism" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i2_mechanism" id="Call_parameters_items_i0_oneOf_i2_mechanism">
    <div class="card-body pl-5">
    <h4>Mechanism</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication mechanism type for plain token login.</p>
    </span><span class="const-value" id="Call_parameters_items_i0_oneOf_i2_mechanism_const">Specific value: <code>"TOKEN_PLAIN"</code></span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i2_token">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i2_token">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i2_token" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i2_token" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i2_token')" type="button"><span class="property-name">token</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i2_token" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i2_token" id="Call_parameters_items_i0_oneOf_i2_token">
    <div class="card-body pl-5">
    <h4>Token</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Authentication token (masked for security).</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i2_login_options">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i2_login_options">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i2_login_options" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i2_login_options" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i2_login_options')" type="button"><span class="property-name">login_options</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i2_login_options" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i2_login_options" id="Call_parameters_items_i0_oneOf_i2_login_options">
    <div class="card-body pl-5">
    <h4>AuthCommonOptions</h4><span class="badge badge-dark value-type">Type: object</span> <div class="json-default-value">Default:<div class="value">{
      "user_info": true,
      "reconnect_token": false
    }</div></div><br/>
    <span class="description"><p>Common authentication options and settings.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i2_login_options_user_info">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i2_login_options_user_info">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i2_login_options_user_info" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i2_login_options_user_info" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i2_login_options_user_info')" type="button"><span class="property-name">user_info</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i2_login_options_user_info" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i2_login_options_user_info" id="Call_parameters_items_i0_oneOf_i2_login_options_user_info">
    <div class="card-body pl-5">
    <h4>User Info</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: true</span><br/>
    <span class="description"><p>Whether to include detailed user information in the authentication response.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i2_login_options_reconnect_token">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i2_login_options_reconnect_token">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i2_login_options_reconnect_token" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i2_login_options_reconnect_token" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i2_login_options_reconnect_token')" type="button"><span class="property-name">reconnect_token</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i2_login_options_reconnect_token" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i2_login_options_reconnect_token" id="Call_parameters_items_i0_oneOf_i2_login_options_reconnect_token">
    <div class="card-body pl-5">
    <h4>Reconnect Token</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: false</span><br/>
    <span class="description"><p>Whether to include a reauthentication token in the authentication response. The <code>ttl</code> for the     generated token depends on the TrueNAS webui setting for preferences-&gt;lifetime, with a default     value of 600 seconds.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Call_parameters_items_i0_oneOf_i3" role="tabpanel">
    <h4>AuthOTPToken</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i3_mechanism">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i3_mechanism">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i3_mechanism" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i3_mechanism" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i3_mechanism')" type="button"><span class="property-name">mechanism</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i3_mechanism" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i3_mechanism" id="Call_parameters_items_i0_oneOf_i3_mechanism">
    <div class="card-body pl-5">
    <h4>Mechanism</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication mechanism identifier for one-time password tokens.</p>
    </span><span class="const-value" id="Call_parameters_items_i0_oneOf_i3_mechanism_const">Specific value: <code>"OTP_TOKEN"</code></span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i3_otp_token">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i3_otp_token">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i3_otp_token" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i3_otp_token" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i3_otp_token')" type="button"><span class="property-name">otp_token</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i3_otp_token" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i3_otp_token" id="Call_parameters_items_i0_oneOf_i3_otp_token">
    <div class="card-body pl-5">
    <h4>Otp Token</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>One-time password token for authentication.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i3_login_options">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i3_login_options">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i3_login_options" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i3_login_options" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i3_login_options')" type="button"><span class="property-name">login_options</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i3_login_options" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i3_login_options" id="Call_parameters_items_i0_oneOf_i3_login_options">
    <div class="card-body pl-5">
    <h4>AuthCommonOptions</h4><span class="badge badge-dark value-type">Type: object</span> <div class="json-default-value">Default:<div class="value">{
      "user_info": true,
      "reconnect_token": false
    }</div></div><br/>
    <span class="description"><p>Additional options for the authentication process.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i3_login_options_user_info">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i3_login_options_user_info">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i3_login_options_user_info" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i3_login_options_user_info" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i3_login_options_user_info')" type="button"><span class="property-name">user_info</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i3_login_options_user_info" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i3_login_options_user_info" id="Call_parameters_items_i0_oneOf_i3_login_options_user_info">
    <div class="card-body pl-5">
    <h4>User Info</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: true</span><br/>
    <span class="description"><p>Whether to include detailed user information in the authentication response.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i3_login_options_reconnect_token">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i3_login_options_reconnect_token">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i3_login_options_reconnect_token" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i3_login_options_reconnect_token" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i3_login_options_reconnect_token')" type="button"><span class="property-name">reconnect_token</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i3_login_options_reconnect_token" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i3_login_options_reconnect_token" id="Call_parameters_items_i0_oneOf_i3_login_options_reconnect_token">
    <div class="card-body pl-5">
    <h4>Reconnect Token</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: false</span><br/>
    <span class="description"><p>Whether to include a reauthentication token in the authentication response. The <code>ttl</code> for the     generated token depends on the TrueNAS webui setting for preferences-&gt;lifetime, with a default     value of 600 seconds.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Call_parameters_items_i0_oneOf_i4" role="tabpanel">
    <h4>AuthSCRAM</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i4_mechanism">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i4_mechanism">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i4_mechanism" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i4_mechanism" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i4_mechanism')" type="button"><span class="property-name">mechanism</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i4_mechanism" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i4_mechanism" id="Call_parameters_items_i0_oneOf_i4_mechanism">
    <div class="card-body pl-5">
    <h4>Mechanism</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication mechanism that implements SHA512-based RFC5802 authentication.<br/>
    The authentication mechanism provides replay resistence and capability for<br/>
    mutual validation of server and client sessions.</p>
    <p>The authentication mechanism is currently limited to API key credentials, but<br/>
    at a future point will be expanded to cover local user authentication.</p>
    <p>Channel binding support is also a planned enhancement of the authentication<br/>
    mechanism.</p>
    <p>C and python libraries to for managing the client-side portion of the authentication<br/>
    exchanges are provided at https://github.com/truenas/truenas_scram</p>
    </span><span class="const-value" id="Call_parameters_items_i0_oneOf_i4_mechanism_const">Specific value: <code>"SCRAM"</code></span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i4_scram_type">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i4_scram_type">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i4_scram_type" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i4_scram_type" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i4_scram_type')" type="button"><span class="property-name">scram_type</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i4_scram_type" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i4_scram_type" id="Call_parameters_items_i0_oneOf_i4_scram_type">
    <div class="card-body pl-5">
    <h4>Scram Type</h4><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
    <span class="description"><p>Scram message type from client. The scram types indicate the message type that is represented by the     <code>rfc_str</code> field.<br/>
    CLIENT<em>FIRST</em>MESSAGE - this corresponds with the client-first-message as defined in RFC5802.    CLIENT<em>FINAL</em>MESSAGE - this corresponds with the client-final-message as defined<br/>
    in RFC5802.</p>
    </span><div class="enum-value" id="Call_parameters_items_i0_oneOf_i4_scram_type_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">"CLIENT_FIRST_MESSAGE"</li><li class="list-group-item enum-item">"CLIENT_FINAL_MESSAGE"</li></ul>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_oneOf_i4_rfc_str">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_oneOf_i4_rfc_str">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_oneOf_i4_rfc_str" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_oneOf_i4_rfc_str" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_oneOf_i4_rfc_str')" type="button"><span class="property-name">rfc_str</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_oneOf_i4_rfc_str" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_oneOf_i4_rfc_str" id="Call_parameters_items_i0_oneOf_i4_rfc_str">
    <div class="card-body pl-5">
    <h4>Rfc Str</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>This field contains the SCRAM authentication exchange message as defined in RFC5802.<br/>
    The expected format and contents depends on the <code>scram_type</code>.    CLIENT<em>FIRST</em>MESSAGE: <code>n,,n=user:10,r=fyko+d2lbbFgONRv9qkxdawL</code>    The <code>n,,</code> component indicates that client does not support channel bindings.<br/>
    <code>n=user:10</code> specifies the username and API key id (separated by <code>:</code> character).<br/>
    <code>r=fyko+d2lbbFgONRv9qkxdawL</code> specifies a base64-encoded nonce generated client-side.<br/>
    CLIENT<em>FINAL</em>MESSAGE: c=biws,r=fyko+d2lbbFgONRv9qkxdawL3rfcNHYJY1ZVvWVs7j,<br/>
    p=v0X8v3Bz2T0CJGbJQyF0X+HI4Ts=    <code>c=biws</code> contains channel binding information. In this example it's the base64-encoded<br/>
    string <code>n,,</code> (no channel binding support).<br/>
    <code>r=fyko+d2lbbFgONRv9qkxdawL3rfcNHYJY1ZVvWVs7j</code> contains the combined client and server<br/>
    nonce as returned by the response to the CLIENT<em>FIRST</em>MESSAGE.<br/>
    <code>p=v0X8v3Bz2T0CJGbJQyF0X+HI4Ts=</code> contains the base64-encoded client proof generated<br/>
    based on client-side key material and client + server nonce.</p>
    </span>
    <br/>
    <div class="badge badge-secondary">Examples:</div>
    <br/><div class="jumbotron examples" id="Call_parameters_items_i0_oneOf_i4_rfc_str_ex1"><div class="highlight"><pre><span></span><span class="s2">"n,,n=user,r=fyko+d2lbbFgONRv9qkxdawL"</span>
    </pre></div>
    </div><div class="jumbotron examples" id="Call_parameters_items_i0_oneOf_i4_rfc_str_ex2"><div class="highlight"><pre><span></span><span class="s2">"c=biws,r=fyko+d2lbbFgONRv9qkxdawL3rfcNHYJY1ZVvWVs7j,p=v0X8v3Bz2T0CJGbJQyF0X+HI4Ts="</span>
    </pre></div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value">
    <div class="card">
    <div class="card-header" id="headingReturn_value">
    <h2 class="mb-0">
    <button aria-controls="Return_value" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value" data-toggle="collapse" onclick="setAnchor('#Return_value')" type="button"><span class="property-name">Return value</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value" class="collapse property-definition-div" data-parent="#accordionReturn_value" id="Return_value">
    <div class="card-body pl-5">
    <h4>Result</h4><br/>
    <span class="description"><p>Authentication response indicating success, failure, or additional steps required.</p>
    </span><div class="one-of-value" id="Return_value_oneOf"><h2 class="handle">
    <label>One of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_oneOf_oneOf" role="tablist"><li class="nav-item">
    <a class="nav-link active oneOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i0" id="Return_value_oneOf_i0" onclick="setAnchor('#Return_value_oneOf_i0')" role="tab">AuthRespSuccess</a>
    </li><li class="nav-item">
    <a class="nav-link oneOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i1" id="Return_value_oneOf_i1" onclick="setAnchor('#Return_value_oneOf_i1')" role="tab">AuthRespAuthErr</a>
    </li><li class="nav-item">
    <a class="nav-link oneOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i2" id="Return_value_oneOf_i2" onclick="setAnchor('#Return_value_oneOf_i2')" role="tab">AuthRespExpired</a>
    </li><li class="nav-item">
    <a class="nav-link oneOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i3" id="Return_value_oneOf_i3" onclick="setAnchor('#Return_value_oneOf_i3')" role="tab">AuthRespOTPRequired</a>
    </li><li class="nav-item">
    <a class="nav-link oneOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i4" id="Return_value_oneOf_i4" onclick="setAnchor('#Return_value_oneOf_i4')" role="tab">AuthRespAuthRedirect</a>
    </li><li class="nav-item">
    <a class="nav-link oneOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i5" id="Return_value_oneOf_i5" onclick="setAnchor('#Return_value_oneOf_i5')" role="tab">AuthRespScram</a>
    </li><li class="nav-item">
    <a class="nav-link oneOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i6" id="Return_value_oneOf_i6" onclick="setAnchor('#Return_value_oneOf_i6')" role="tab">AuthRespDenied</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_oneOf_i0" role="tabpanel">
    <h4>AuthRespSuccess</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_response_type">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_response_type">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_response_type" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_response_type" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_response_type')" type="button"><span class="property-name">response_type</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_response_type" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_response_type" id="Return_value_oneOf_i0_response_type">
    <div class="card-body pl-5">
    <h4>Response Type</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication response type indicating successful login.</p>
    </span><span class="const-value" id="Return_value_oneOf_i0_response_type_const">Specific value: <code>"SUCCESS"</code></span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info')" type="button"><span class="property-name">user_info</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info" id="Return_value_oneOf_i0_user_info">
    <div class="card-body pl-5">
    <br/>
    <span class="description"><p>Authenticated user information or <code>null</code> if not available.</p>
    </span><div class="any-of-value" id="Return_value_oneOf_i0_user_info_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_oneOf_i0_user_info_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i0_user_info_anyOf_i0" id="Return_value_oneOf_i0_user_info_anyOf_i0" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0')" role="tab">AuthUserInfo</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i0_user_info_anyOf_i1" id="Return_value_oneOf_i0_user_info_anyOf_i1" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_oneOf_i0_user_info_anyOf_i0" role="tabpanel">
    <h4>AuthUserInfo</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_name">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_name">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_pw_name" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_pw_name" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_pw_name')" type="button"><span class="property-name">pw_name</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_name" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_name" id="Return_value_oneOf_i0_user_info_anyOf_i0_pw_name">
    <div class="card-body pl-5">
    <h4>Pw Name</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Name of the user.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_gecos">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_gecos">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_pw_gecos" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_pw_gecos" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_pw_gecos')" type="button"><span class="property-name">pw_gecos</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_gecos" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_gecos" id="Return_value_oneOf_i0_user_info_anyOf_i0_pw_gecos">
    <div class="card-body pl-5">
    <h4>Pw Gecos</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Full username or comment field.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_dir">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_dir">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_pw_dir" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_pw_dir" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_pw_dir')" type="button"><span class="property-name">pw_dir</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_dir" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_dir" id="Return_value_oneOf_i0_user_info_anyOf_i0_pw_dir">
    <div class="card-body pl-5">
    <h4>Pw Dir</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>User home directory.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_shell">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_shell">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_pw_shell" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_pw_shell" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_pw_shell')" type="button"><span class="property-name">pw_shell</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_shell" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_shell" id="Return_value_oneOf_i0_user_info_anyOf_i0_pw_shell">
    <div class="card-body pl-5">
    <h4>Pw Shell</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>User command line interpreter.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_uid">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_uid">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_pw_uid" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_pw_uid" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_pw_uid')" type="button"><span class="property-name">pw_uid</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_uid" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_uid" id="Return_value_oneOf_i0_user_info_anyOf_i0_pw_uid">
    <div class="card-body pl-5">
    <h4>Pw Uid</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>Numerical user ID of the user.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_gid">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_gid">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_pw_gid" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_pw_gid" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_pw_gid')" type="button"><span class="property-name">pw_gid</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_pw_gid" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_pw_gid" id="Return_value_oneOf_i0_user_info_anyOf_i0_pw_gid">
    <div class="card-body pl-5">
    <h4>Pw Gid</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>Numerical group id for the user's primary group.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_grouplist">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_grouplist">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_grouplist" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_grouplist" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_grouplist')" type="button"><span class="property-name">grouplist</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_grouplist" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_grouplist" id="Return_value_oneOf_i0_user_info_anyOf_i0_grouplist">
    <div class="card-body pl-5">
    <h4>Grouplist</h4><br/>
    <span class="description"><p>Optional array of group IDs for groups of which this account is a member. If <code>get_groups</code> is not specified,     this value will be <code>null</code>.</p>
    </span><div class="any-of-value" id="Return_value_oneOf_i0_user_info_anyOf_i0_grouplist_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_oneOf_i0_user_info_anyOf_i0_grouplist_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i0_user_info_anyOf_i0_grouplist_anyOf_i0" id="Return_value_oneOf_i0_user_info_anyOf_i0_grouplist_anyOf_i0" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_grouplist_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i0_user_info_anyOf_i0_grouplist_anyOf_i1" id="Return_value_oneOf_i0_user_info_anyOf_i0_grouplist_anyOf_i1" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_grouplist_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_oneOf_i0_user_info_anyOf_i0_grouplist_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: array of integer</span><br/>
    <span class="badge badge-info no-additional">No Additional Items</span><h5>Each item of this array must be:</h5>
    <div class="card">
    <div class="card-body items-definition" id="Return_value_oneOf_i0_user_info_anyOf_i0_grouplist_anyOf_i0_items">
    <span class="badge badge-dark value-type">Type: integer</span><br/>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i0_user_info_anyOf_i0_grouplist_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_sid">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_sid">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_sid" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_sid" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_sid')" type="button"><span class="property-name">sid</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_sid" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_sid" id="Return_value_oneOf_i0_user_info_anyOf_i0_sid">
    <div class="card-body pl-5">
    <h4>Sid</h4><br/>
    <span class="description"><p>Optional SID value for the account that is present if <code>sid_info</code> is specified in payload.</p>
    </span><div class="any-of-value" id="Return_value_oneOf_i0_user_info_anyOf_i0_sid_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_oneOf_i0_user_info_anyOf_i0_sid_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i0_user_info_anyOf_i0_sid_anyOf_i0" id="Return_value_oneOf_i0_user_info_anyOf_i0_sid_anyOf_i0" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_sid_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i0_user_info_anyOf_i0_sid_anyOf_i1" id="Return_value_oneOf_i0_user_info_anyOf_i0_sid_anyOf_i1" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_sid_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_oneOf_i0_user_info_anyOf_i0_sid_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: string</span><br/>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i0_user_info_anyOf_i0_sid_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_source">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_source">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_source" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_source" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_source')" type="button"><span class="property-name">source</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_source" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_source" id="Return_value_oneOf_i0_user_info_anyOf_i0_source">
    <div class="card-body pl-5">
    <h4>Source</h4><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
    <span class="description"><p>The source for the user account.</p>
    </span><div class="enum-value" id="Return_value_oneOf_i0_user_info_anyOf_i0_source_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">"LOCAL"</li><li class="list-group-item enum-item">"ACTIVEDIRECTORY"</li><li class="list-group-item enum-item">"LDAP"</li></ul>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_local">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_local">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_local" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_local" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_local')" type="button"><span class="property-name">local</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_local" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_local" id="Return_value_oneOf_i0_user_info_anyOf_i0_local">
    <div class="card-body pl-5">
    <h4>Local</h4><span class="badge badge-dark value-type">Type: boolean</span><br/>
    <span class="description"><p>The account is local to TrueNAS or provided by a directory service.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_attributes">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_attributes">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_attributes" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_attributes" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_attributes')" type="button"><span class="property-name">attributes</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_attributes" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_attributes" id="Return_value_oneOf_i0_user_info_anyOf_i0_attributes">
    <div class="card-body pl-5">
    <h4>Attributes</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>Custom user attributes and metadata.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_two_factor_config">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_two_factor_config">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_two_factor_config" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_two_factor_config" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_two_factor_config')" type="button"><span class="property-name">two_factor_config</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_two_factor_config" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_two_factor_config" id="Return_value_oneOf_i0_user_info_anyOf_i0_two_factor_config">
    <div class="card-body pl-5">
    <h4>Two Factor Config</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>Two-factor authentication configuration for the user.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_privilege">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_privilege">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_privilege" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_privilege" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_privilege')" type="button"><span class="property-name">privilege</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_privilege" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_privilege" id="Return_value_oneOf_i0_user_info_anyOf_i0_privilege">
    <div class="card-body pl-5">
    <h4>Privilege</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>User privilege and role information.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_user_info_anyOf_i0_account_attributes">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_user_info_anyOf_i0_account_attributes">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_user_info_anyOf_i0_account_attributes" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_user_info_anyOf_i0_account_attributes" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_user_info_anyOf_i0_account_attributes')" type="button"><span class="property-name">account_attributes</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_user_info_anyOf_i0_account_attributes" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_user_info_anyOf_i0_account_attributes" id="Return_value_oneOf_i0_user_info_anyOf_i0_account_attributes">
    <div class="card-body pl-5">
    <h4>Account Attributes</h4><span class="badge badge-dark value-type">Type: array of string</span><br/>
    <span class="description"><p>Array of account attribute names available for this user.</p>
    </span>
    <span class="badge badge-info no-additional">No Additional Items</span><h5>Each item of this array must be:</h5>
    <div class="card">
    <div class="card-body items-definition" id="Return_value_oneOf_i0_user_info_anyOf_i0_account_attributes_items">
    <span class="badge badge-dark value-type">Type: string</span><br/>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i0_user_info_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_authenticator">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_authenticator">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_authenticator" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_authenticator" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_authenticator')" type="button"><span class="property-name">authenticator</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_authenticator" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_authenticator" id="Return_value_oneOf_i0_authenticator">
    <div class="card-body pl-5">
    <h4>Authenticator</h4><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
    <span class="description"><p>Authentication level achieved (LEVEL<em>1 for password, LEVEL</em>2 for two-factor).</p>
    </span><div class="enum-value" id="Return_value_oneOf_i0_authenticator_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">"LEVEL_1"</li><li class="list-group-item enum-item">"LEVEL_2"</li></ul>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i0_reconnect_token">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i0_reconnect_token">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i0_reconnect_token" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i0_reconnect_token" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i0_reconnect_token')" type="button"><span class="property-name">reconnect_token</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i0_reconnect_token" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i0_reconnect_token" id="Return_value_oneOf_i0_reconnect_token">
    <div class="card-body pl-5">
    <h4>Reconnect Token</h4><br/>
    <span class="description"><p>Single-use token that can be used to reauthenticate to the truenas server in case websocket session is     interrupted. This will be <code>null</code> in the following situations:</p>
    <p>1) The initiating authentication request set <code>reconnect_token</code> to <code>false</code> (default).<br/>
    2) The user authenticated via a one-time password, which does not support reconnect token creation.</p>
    </span><div class="any-of-value" id="Return_value_oneOf_i0_reconnect_token_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_oneOf_i0_reconnect_token_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i0_reconnect_token_anyOf_i0" id="Return_value_oneOf_i0_reconnect_token_anyOf_i0" onclick="setAnchor('#Return_value_oneOf_i0_reconnect_token_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i0_reconnect_token_anyOf_i1" id="Return_value_oneOf_i0_reconnect_token_anyOf_i1" onclick="setAnchor('#Return_value_oneOf_i0_reconnect_token_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_oneOf_i0_reconnect_token_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: string</span><br/>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i0_reconnect_token_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i1" role="tabpanel">
    <h4>AuthRespAuthErr</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_oneOf_i1_response_type">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i1_response_type">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i1_response_type" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i1_response_type" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i1_response_type')" type="button"><span class="property-name">response_type</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i1_response_type" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i1_response_type" id="Return_value_oneOf_i1_response_type">
    <div class="card-body pl-5">
    <h4>Response Type</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication response type indicating authentication failure.</p>
    </span><span class="const-value" id="Return_value_oneOf_i1_response_type_const">Specific value: <code>"AUTH_ERR"</code></span>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i2" role="tabpanel">
    <h4>AuthRespExpired</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_oneOf_i2_response_type">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i2_response_type">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i2_response_type" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i2_response_type" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i2_response_type')" type="button"><span class="property-name">response_type</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i2_response_type" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i2_response_type" id="Return_value_oneOf_i2_response_type">
    <div class="card-body pl-5">
    <h4>Response Type</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication response type indicating the session or token has expired.</p>
    </span><span class="const-value" id="Return_value_oneOf_i2_response_type_const">Specific value: <code>"EXPIRED"</code></span>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i3" role="tabpanel">
    <h4>AuthRespOTPRequired</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_oneOf_i3_response_type">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i3_response_type">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i3_response_type" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i3_response_type" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i3_response_type')" type="button"><span class="property-name">response_type</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i3_response_type" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i3_response_type" id="Return_value_oneOf_i3_response_type">
    <div class="card-body pl-5">
    <h4>Response Type</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication response type indicating one-time password is required.</p>
    </span><span class="const-value" id="Return_value_oneOf_i3_response_type_const">Specific value: <code>"OTP_REQUIRED"</code></span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i3_username">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i3_username">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i3_username" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i3_username" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i3_username')" type="button"><span class="property-name">username</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i3_username" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i3_username" id="Return_value_oneOf_i3_username">
    <div class="card-body pl-5">
    <h4>Username</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Username for which OTP is required.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i4" role="tabpanel">
    <h4>AuthRespAuthRedirect</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_oneOf_i4_response_type">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i4_response_type">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i4_response_type" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i4_response_type" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i4_response_type')" type="button"><span class="property-name">response_type</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i4_response_type" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i4_response_type" id="Return_value_oneOf_i4_response_type">
    <div class="card-body pl-5">
    <h4>Response Type</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication response type indicating redirect is required.</p>
    </span><span class="const-value" id="Return_value_oneOf_i4_response_type_const">Specific value: <code>"REDIRECT"</code></span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i4_urls">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i4_urls">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i4_urls" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i4_urls" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i4_urls')" type="button"><span class="property-name">urls</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i4_urls" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i4_urls" id="Return_value_oneOf_i4_urls">
    <div class="card-body pl-5">
    <h4>Urls</h4><span class="badge badge-dark value-type">Type: array of string</span><br/>
    <span class="description"><p>Array of URLs to redirect to for authentication completion.</p>
    </span>
    <span class="badge badge-info no-additional">No Additional Items</span><h5>Each item of this array must be:</h5>
    <div class="card">
    <div class="card-body items-definition" id="Return_value_oneOf_i4_urls_items">
    <span class="badge badge-dark value-type">Type: string</span><br/>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i5" role="tabpanel">
    <h4>AuthRespScram</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_response_type">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_response_type">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_response_type" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_response_type" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_response_type')" type="button"><span class="property-name">response_type</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_response_type" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_response_type" id="Return_value_oneOf_i5_response_type">
    <div class="card-body pl-5">
    <h4>Response Type</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication response type indicating a SCRAM server response.</p>
    </span><span class="const-value" id="Return_value_oneOf_i5_response_type_const">Specific value: <code>"SCRAM_RESPONSE"</code></span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_scram_type">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_scram_type">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_scram_type" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_scram_type" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_scram_type')" type="button"><span class="property-name">scram_type</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_scram_type" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_scram_type" id="Return_value_oneOf_i5_scram_type">
    <div class="card-body pl-5">
    <h4>Scram Type</h4><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
    <span class="description"><p>The type of server response. The SERVER<em>FIRST</em>RESPONSE will contain nonce, salt,    and iterations. The SERVER<em>FINAL</em>RESPONSE will contain the server verification proof    for client mutual validation.</p>
    </span><div class="enum-value" id="Return_value_oneOf_i5_scram_type_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">"SERVER_FIRST_RESPONSE"</li><li class="list-group-item enum-item">"SERVER_FINAL_RESPONSE"</li></ul>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_rfc_str">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_rfc_str">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_rfc_str" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_rfc_str" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_rfc_str')" type="button"><span class="property-name">rfc_str</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_rfc_str" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_rfc_str" id="Return_value_oneOf_i5_rfc_str">
    <div class="card-body pl-5">
    <h4>Rfc Str</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Server authentication response containing string per RFC5802.</p>
    </span>
    <br/>
    <div class="badge badge-secondary">Examples:</div>
    <br/><div class="jumbotron examples" id="Return_value_oneOf_i5_rfc_str_ex1"><div class="highlight"><pre><span></span><span class="s2">"r=fyko+d2lbbFgONRv9qkxdawL3rfcNHYJY1ZVvWVs7j,s=QSXCR+Q6sek8bf92,i=500000"</span>
    </pre></div>
    </div><div class="jumbotron examples" id="Return_value_oneOf_i5_rfc_str_ex2"><div class="highlight"><pre><span></span><span class="s2">"v=rmF9pqV8S7suAoZWja4dJRkFsKQ="</span>
    </pre></div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info')" type="button"><span class="property-name">user_info</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info" id="Return_value_oneOf_i5_user_info">
    <div class="card-body pl-5">
    <br/>
    <span class="description"><p>Authenticated user information on SERVER<em>FINAL</em>RESPONSE or null on SERVER<em>FIRST</em>RESPONSE.</p>
    </span><div class="any-of-value" id="Return_value_oneOf_i5_user_info_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_oneOf_i5_user_info_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i5_user_info_anyOf_i0" id="Return_value_oneOf_i5_user_info_anyOf_i0" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0')" role="tab">AuthUserInfo</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i5_user_info_anyOf_i1" id="Return_value_oneOf_i5_user_info_anyOf_i1" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_oneOf_i5_user_info_anyOf_i0" role="tabpanel">
    <h4>AuthUserInfo</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_name">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_name">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_pw_name" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_pw_name" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_pw_name')" type="button"><span class="property-name">pw_name</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_name" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_name" id="Return_value_oneOf_i5_user_info_anyOf_i0_pw_name">
    <div class="card-body pl-5">
    <h4>Pw Name</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Name of the user.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_gecos">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_gecos">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_pw_gecos" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_pw_gecos" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_pw_gecos')" type="button"><span class="property-name">pw_gecos</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_gecos" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_gecos" id="Return_value_oneOf_i5_user_info_anyOf_i0_pw_gecos">
    <div class="card-body pl-5">
    <h4>Pw Gecos</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Full username or comment field.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_dir">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_dir">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_pw_dir" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_pw_dir" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_pw_dir')" type="button"><span class="property-name">pw_dir</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_dir" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_dir" id="Return_value_oneOf_i5_user_info_anyOf_i0_pw_dir">
    <div class="card-body pl-5">
    <h4>Pw Dir</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>User home directory.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_shell">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_shell">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_pw_shell" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_pw_shell" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_pw_shell')" type="button"><span class="property-name">pw_shell</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_shell" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_shell" id="Return_value_oneOf_i5_user_info_anyOf_i0_pw_shell">
    <div class="card-body pl-5">
    <h4>Pw Shell</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>User command line interpreter.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_uid">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_uid">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_pw_uid" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_pw_uid" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_pw_uid')" type="button"><span class="property-name">pw_uid</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_uid" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_uid" id="Return_value_oneOf_i5_user_info_anyOf_i0_pw_uid">
    <div class="card-body pl-5">
    <h4>Pw Uid</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>Numerical user ID of the user.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_gid">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_gid">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_pw_gid" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_pw_gid" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_pw_gid')" type="button"><span class="property-name">pw_gid</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_pw_gid" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_pw_gid" id="Return_value_oneOf_i5_user_info_anyOf_i0_pw_gid">
    <div class="card-body pl-5">
    <h4>Pw Gid</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>Numerical group id for the user's primary group.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_grouplist">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_grouplist">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_grouplist" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_grouplist" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_grouplist')" type="button"><span class="property-name">grouplist</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_grouplist" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_grouplist" id="Return_value_oneOf_i5_user_info_anyOf_i0_grouplist">
    <div class="card-body pl-5">
    <h4>Grouplist</h4><br/>
    <span class="description"><p>Optional array of group IDs for groups of which this account is a member. If <code>get_groups</code> is not specified,     this value will be <code>null</code>.</p>
    </span><div class="any-of-value" id="Return_value_oneOf_i5_user_info_anyOf_i0_grouplist_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_oneOf_i5_user_info_anyOf_i0_grouplist_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i5_user_info_anyOf_i0_grouplist_anyOf_i0" id="Return_value_oneOf_i5_user_info_anyOf_i0_grouplist_anyOf_i0" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_grouplist_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i5_user_info_anyOf_i0_grouplist_anyOf_i1" id="Return_value_oneOf_i5_user_info_anyOf_i0_grouplist_anyOf_i1" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_grouplist_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_oneOf_i5_user_info_anyOf_i0_grouplist_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: array of integer</span><br/>
    <span class="badge badge-info no-additional">No Additional Items</span><h5>Each item of this array must be:</h5>
    <div class="card">
    <div class="card-body items-definition" id="Return_value_oneOf_i5_user_info_anyOf_i0_grouplist_anyOf_i0_items">
    <span class="badge badge-dark value-type">Type: integer</span><br/>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i5_user_info_anyOf_i0_grouplist_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_sid">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_sid">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_sid" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_sid" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_sid')" type="button"><span class="property-name">sid</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_sid" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_sid" id="Return_value_oneOf_i5_user_info_anyOf_i0_sid">
    <div class="card-body pl-5">
    <h4>Sid</h4><br/>
    <span class="description"><p>Optional SID value for the account that is present if <code>sid_info</code> is specified in payload.</p>
    </span><div class="any-of-value" id="Return_value_oneOf_i5_user_info_anyOf_i0_sid_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_oneOf_i5_user_info_anyOf_i0_sid_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i5_user_info_anyOf_i0_sid_anyOf_i0" id="Return_value_oneOf_i5_user_info_anyOf_i0_sid_anyOf_i0" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_sid_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_oneOf_i5_user_info_anyOf_i0_sid_anyOf_i1" id="Return_value_oneOf_i5_user_info_anyOf_i0_sid_anyOf_i1" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_sid_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_oneOf_i5_user_info_anyOf_i0_sid_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: string</span><br/>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i5_user_info_anyOf_i0_sid_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_source">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_source">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_source" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_source" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_source')" type="button"><span class="property-name">source</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_source" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_source" id="Return_value_oneOf_i5_user_info_anyOf_i0_source">
    <div class="card-body pl-5">
    <h4>Source</h4><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
    <span class="description"><p>The source for the user account.</p>
    </span><div class="enum-value" id="Return_value_oneOf_i5_user_info_anyOf_i0_source_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">"LOCAL"</li><li class="list-group-item enum-item">"ACTIVEDIRECTORY"</li><li class="list-group-item enum-item">"LDAP"</li></ul>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_local">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_local">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_local" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_local" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_local')" type="button"><span class="property-name">local</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_local" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_local" id="Return_value_oneOf_i5_user_info_anyOf_i0_local">
    <div class="card-body pl-5">
    <h4>Local</h4><span class="badge badge-dark value-type">Type: boolean</span><br/>
    <span class="description"><p>The account is local to TrueNAS or provided by a directory service.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_attributes">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_attributes">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_attributes" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_attributes" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_attributes')" type="button"><span class="property-name">attributes</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_attributes" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_attributes" id="Return_value_oneOf_i5_user_info_anyOf_i0_attributes">
    <div class="card-body pl-5">
    <h4>Attributes</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>Custom user attributes and metadata.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_two_factor_config">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_two_factor_config">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_two_factor_config" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_two_factor_config" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_two_factor_config')" type="button"><span class="property-name">two_factor_config</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_two_factor_config" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_two_factor_config" id="Return_value_oneOf_i5_user_info_anyOf_i0_two_factor_config">
    <div class="card-body pl-5">
    <h4>Two Factor Config</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>Two-factor authentication configuration for the user.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_privilege">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_privilege">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_privilege" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_privilege" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_privilege')" type="button"><span class="property-name">privilege</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_privilege" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_privilege" id="Return_value_oneOf_i5_user_info_anyOf_i0_privilege">
    <div class="card-body pl-5">
    <h4>Privilege</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>User privilege and role information.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_oneOf_i5_user_info_anyOf_i0_account_attributes">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i5_user_info_anyOf_i0_account_attributes">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i5_user_info_anyOf_i0_account_attributes" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i5_user_info_anyOf_i0_account_attributes" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i5_user_info_anyOf_i0_account_attributes')" type="button"><span class="property-name">account_attributes</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i5_user_info_anyOf_i0_account_attributes" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i5_user_info_anyOf_i0_account_attributes" id="Return_value_oneOf_i5_user_info_anyOf_i0_account_attributes">
    <div class="card-body pl-5">
    <h4>Account Attributes</h4><span class="badge badge-dark value-type">Type: array of string</span><br/>
    <span class="description"><p>Array of account attribute names available for this user.</p>
    </span>
    <span class="badge badge-info no-additional">No Additional Items</span><h5>Each item of this array must be:</h5>
    <div class="card">
    <div class="card-body items-definition" id="Return_value_oneOf_i5_user_info_anyOf_i0_account_attributes_items">
    <span class="badge badge-dark value-type">Type: string</span><br/>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i5_user_info_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_oneOf_i6" role="tabpanel">
    <h4>AuthRespDenied</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_oneOf_i6_response_type">
    <div class="card">
    <div class="card-header" id="headingReturn_value_oneOf_i6_response_type">
    <h2 class="mb-0">
    <button aria-controls="Return_value_oneOf_i6_response_type" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_oneOf_i6_response_type" data-toggle="collapse" onclick="setAnchor('#Return_value_oneOf_i6_response_type')" type="button"><span class="property-name">response_type</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_oneOf_i6_response_type" class="collapse property-definition-div" data-parent="#accordionReturn_value_oneOf_i6_response_type" id="Return_value_oneOf_i6_response_type">
    <div class="card-body pl-5">
    <h4>Response Type</h4><span class="badge badge-dark value-type">Type: const</span><br/>
    <span class="description"><p>Authentication response type indicating that the credential lacks API access.</p>
    </span><span class="const-value" id="Return_value_oneOf_i6_response_type_const">Specific value: <code>"DENIED"</code></span>
    </div>
    </div>
    </div>
    </div>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    </div><br><br>

*Required roles:* 

