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 };
};
} = ...
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.