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;
            fields: any[];
            gridFields?: undefined;
            mode?: undefined;
            offersExampleData?: undefined;
            passwordPolicy?: undefined;
            realm: { id: any; name: any };
        }
        | {
            container: any;
            credential: string;
            credentials: { id: string; label: string }[];
            defaultCredential: string;
            directory: boolean;
            fieldGroups: { id: string; label: string; what: string }[];
            fields: {
                attribute: string;
                claim: string[];
                invented: boolean;
                label: string;
                schema: string;
            }[];
            gridFields: {
                attribute: string;
                example: string;
                group: string;
                label: string;
                multi: boolean;
                simple: boolean;
                takes: string;
            }[];
            mode: string;
            offersExampleData: boolean;
            passwordPolicy: { enforced: boolean; profile: string; rules: string[] };
            realm: { id: any; name: any };
        } = ...

    Type Declaration

      • (
            req: any,
            prefill?: any,
        ):
            | {
                container: any;
                credential?: undefined;
                credentials: { id: string; label: string }[];
                defaultCredential?: undefined;
                directory: boolean;
                fieldGroups?: undefined;
                fields: any[];
                gridFields?: undefined;
                mode?: undefined;
                offersExampleData?: undefined;
                passwordPolicy?: undefined;
                realm: { id: any; name: any };
            }
            | {
                container: any;
                credential: string;
                credentials: { id: string; label: string }[];
                defaultCredential: string;
                directory: boolean;
                fieldGroups: { id: string; label: string; what: string }[];
                fields: {
                    attribute: string;
                    claim: string[];
                    invented: boolean;
                    label: string;
                    schema: string;
                }[];
                gridFields: {
                    attribute: string;
                    example: string;
                    group: string;
                    label: string;
                    multi: boolean;
                    simple: boolean;
                    takes: string;
                }[];
                mode: string;
                offersExampleData: boolean;
                passwordPolicy: { enforced: boolean; profile: string; rules: string[] };
                realm: { id: any; name: any };
            }
      • 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;
                fields: any[];
                gridFields?: undefined;
                mode?: undefined;
                offersExampleData?: undefined;
                passwordPolicy?: undefined;
                realm: { id: any; name: any };
            }
            | {
                container: any;
                credential: string;
                credentials: { id: string; label: string }[];
                defaultCredential: string;
                directory: boolean;
                fieldGroups: { id: string; label: string; what: string }[];
                fields: {
                    attribute: string;
                    claim: string[];
                    invented: boolean;
                    label: string;
                    schema: string;
                }[];
                gridFields: {
                    attribute: string;
                    example: string;
                    group: string;
                    label: string;
                    multi: boolean;
                    simple: boolean;
                    takes: string;
                }[];
                mode: string;
                offersExampleData: boolean;
                passwordPolicy: { enforced: boolean; profile: string; rules: string[] };
                realm: { id: any; name: any };
            }

        the JSON