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 };
}
-
Parameters
- req: any
Optionalprefill: any
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
Builds
/admin/users/new's JSON: the attribute catalogue and credential choices.