Auth0 Node.js SDK - v5.1.0
    Preparing search index...

    Interface UpdateConnectionOptions

    The connection's options (depend on the connection strategy). To update these options, the update:connections_options scope must be present. To verify your changes, also include the read:connections_options scope. If this scope is not specified, you will not be able to review the updated object.

    interface UpdateConnectionOptions {
        validation?: ConnectionValidationOptions | null;
        non_persistent_attrs?: string[];
        precedence?: Management.ConnectionIdentifierPrecedenceEnum[];
        attributes?: ConnectionAttributes;
        enable_script_context?: boolean;
        enabledDatabaseCustomization?: boolean;
        import_mode?: boolean;
        customScripts?: ConnectionCustomScripts;
        authentication_methods?: ConnectionAuthenticationMethods | null;
        passkey_options?: ConnectionPasskeyOptions | null;
        passwordPolicy?: Management.ConnectionPasswordPolicyEnum | null;
        password_complexity_options?: ConnectionPasswordComplexityOptions | null;
        password_history?: ConnectionPasswordHistoryOptions | null;
        password_no_personal_info?: ConnectionPasswordNoPersonalInfoOptions | null;
        password_dictionary?: ConnectionPasswordDictionaryOptions | null;
        api_enable_users?: boolean;
        basic_profile?: boolean;
        ext_admin?: boolean;
        ext_is_suspended?: boolean;
        ext_agreed_terms?: boolean;
        ext_groups?: boolean;
        ext_assigned_plans?: boolean;
        ext_profile?: boolean;
        disable_self_service_change_password?: boolean;
        upstream_params?: ConnectionUpstreamParams;
        set_user_root_attributes?: Management.ConnectionSetUserRootAttributesEnum;
        gateway_authentication?: ConnectionGatewayAuthentication | null;
        federated_connections_access_tokens?:
            | ConnectionFederatedConnectionsAccessTokens
            | null;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      Accepts any additional properties

    Index

    Properties

    validation?: ConnectionValidationOptions | null
    non_persistent_attrs?: string[]

    An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist)

    Order of precedence for attribute types. If the property is not specified, the default precedence of attributes will be used.

    enable_script_context?: boolean

    Set to true to inject context into custom DB scripts (warning: cannot be disabled once enabled)

    enabledDatabaseCustomization?: boolean

    Set to true to use a legacy user store

    import_mode?: boolean

    Enable this if you have a legacy user store and you want to gradually migrate those users to the Auth0 user store

    customScripts?: ConnectionCustomScripts
    authentication_methods?: ConnectionAuthenticationMethods | null
    passkey_options?: ConnectionPasskeyOptions | null
    password_complexity_options?: ConnectionPasswordComplexityOptions | null
    password_history?: ConnectionPasswordHistoryOptions | null
    password_no_personal_info?: ConnectionPasswordNoPersonalInfoOptions | null
    password_dictionary?: ConnectionPasswordDictionaryOptions | null
    api_enable_users?: boolean
    basic_profile?: boolean
    ext_admin?: boolean
    ext_is_suspended?: boolean
    ext_agreed_terms?: boolean
    ext_groups?: boolean
    ext_assigned_plans?: boolean
    ext_profile?: boolean
    disable_self_service_change_password?: boolean
    upstream_params?: ConnectionUpstreamParams
    gateway_authentication?: ConnectionGatewayAuthentication | null
    federated_connections_access_tokens?:
        | ConnectionFederatedConnectionsAccessTokens
        | null