iya-sts
    Preparing search index...
    newUserJson: (
        req: any,
        prefill?: any,
    ) =>
        | {
            container: any;
            credential?: undefined;
            credentials: { id: string; label: string }[];
            defaultCredential?: undefined;
            directory: boolean;
            fieldGroups?: undefined;
            fieldRows?: undefined;
            fields: any[];
            gridFields?: undefined;
            longTextAttributes?: undefined;
            mailAvailable?: undefined;
            mode?: undefined;
            offersExampleData?: undefined;
            passwordPolicy?: undefined;
            persistence?: undefined;
            realm: { id: any; name: any };
            requiredAttributes?: undefined;
            requiredEnforced?: undefined;
            username?: undefined;
        }
        | {
            container: any;
            credential: string;
            credentials: { id: string; label: string; what: string }[];
            defaultCredential: string;
            directory: boolean;
            fieldGroups: { id: string; label: string; what: string }[];
            fieldRows: {
                attribute: string;
                everyFamily: boolean;
                example: string;
                families: any[];
                forText: string;
                group: string;
                required: boolean;
                simple: boolean;
                type: string;
                what: string;
            }[];
            fields: {
                attribute: string;
                claim: string[];
                invented: boolean;
                label: string;
                schema: string;
            }[];
            gridFields: {
                attribute: string;
                custom: boolean;
                example: string;
                group: string;
                label: string;
                multi: boolean;
                simple: boolean;
                takes: string;
            }[];
            longTextAttributes: string[];
            mailAvailable: any;
            mode: string;
            offersExampleData: boolean;
            passwordPolicy: { enforced: boolean; profile: string; rules: string[] };
            persistence: { mode: string; persistsDirectory: boolean };
            realm: { id: any; name: any };
            requiredAttributes: string[];
            requiredEnforced: boolean;
            username: string;
        } = ...

    Type Declaration

      • (
            req: any,
            prefill?: any,
        ):
            | {
                container: any;
                credential?: undefined;
                credentials: { id: string; label: string }[];
                defaultCredential?: undefined;
                directory: boolean;
                fieldGroups?: undefined;
                fieldRows?: undefined;
                fields: any[];
                gridFields?: undefined;
                longTextAttributes?: undefined;
                mailAvailable?: undefined;
                mode?: undefined;
                offersExampleData?: undefined;
                passwordPolicy?: undefined;
                persistence?: undefined;
                realm: { id: any; name: any };
                requiredAttributes?: undefined;
                requiredEnforced?: undefined;
                username?: undefined;
            }
            | {
                container: any;
                credential: string;
                credentials: { id: string; label: string; what: string }[];
                defaultCredential: string;
                directory: boolean;
                fieldGroups: { id: string; label: string; what: string }[];
                fieldRows: {
                    attribute: string;
                    everyFamily: boolean;
                    example: string;
                    families: any[];
                    forText: string;
                    group: string;
                    required: boolean;
                    simple: boolean;
                    type: string;
                    what: string;
                }[];
                fields: {
                    attribute: string;
                    claim: string[];
                    invented: boolean;
                    label: string;
                    schema: string;
                }[];
                gridFields: {
                    attribute: string;
                    custom: boolean;
                    example: string;
                    group: string;
                    label: string;
                    multi: boolean;
                    simple: boolean;
                    takes: string;
                }[];
                longTextAttributes: string[];
                mailAvailable: any;
                mode: string;
                offersExampleData: boolean;
                passwordPolicy: { enforced: boolean; profile: string; rules: string[] };
                persistence: { mode: string; persistsDirectory: boolean };
                realm: { id: any; name: any };
                requiredAttributes: string[];
                requiredEnforced: boolean;
                username: string;
            }
      • Builds /admin/users/new's JSON: the attribute catalogue and credential choices.

        Parameters

        • req: any

          the request

        • Optionalprefill: any

          values to fill the form with

        Returns
            | {
                container: any;
                credential?: undefined;
                credentials: { id: string; label: string }[];
                defaultCredential?: undefined;
                directory: boolean;
                fieldGroups?: undefined;
                fieldRows?: undefined;
                fields: any[];
                gridFields?: undefined;
                longTextAttributes?: undefined;
                mailAvailable?: undefined;
                mode?: undefined;
                offersExampleData?: undefined;
                passwordPolicy?: undefined;
                persistence?: undefined;
                realm: { id: any; name: any };
                requiredAttributes?: undefined;
                requiredEnforced?: undefined;
                username?: undefined;
            }
            | {
                container: any;
                credential: string;
                credentials: { id: string; label: string; what: string }[];
                defaultCredential: string;
                directory: boolean;
                fieldGroups: { id: string; label: string; what: string }[];
                fieldRows: {
                    attribute: string;
                    everyFamily: boolean;
                    example: string;
                    families: any[];
                    forText: string;
                    group: string;
                    required: boolean;
                    simple: boolean;
                    type: string;
                    what: string;
                }[];
                fields: {
                    attribute: string;
                    claim: string[];
                    invented: boolean;
                    label: string;
                    schema: string;
                }[];
                gridFields: {
                    attribute: string;
                    custom: boolean;
                    example: string;
                    group: string;
                    label: string;
                    multi: boolean;
                    simple: boolean;
                    takes: string;
                }[];
                longTextAttributes: string[];
                mailAvailable: any;
                mode: string;
                offersExampleData: boolean;
                passwordPolicy: { enforced: boolean; profile: string; rules: string[] };
                persistence: { mode: string; persistsDirectory: boolean };
                realm: { id: any; name: any };
                requiredAttributes: string[];
                requiredEnforced: boolean;
                username: string;
            }

        the JSON