iya-sts
    Preparing search index...

    Variable newUserPage

    newUserPage: (
        req: any,
        prefill?: any,
    ) => {
        inner: string;
        json:
            | {
                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,
        ): {
            inner: string;
            json:
                | {
                    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 };
                };
        }
      • Draws /admin/users/new, the form that creates a person in this realm's directory, or a warning in its place when no directory is loaded.

        "Fill with example data" is offered in development mode only.

        Parameters

        • req: any

          the express request

        • Optionalprefill: any

          optional; what was posted and refused, put back in the boxes

        Returns {
            inner: string;
            json:
                | {
                    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 };
                };
        }

        an object of inner (the page body as HTML) and json