Variable requestedClaimsFor
requestedClaimsFor: (
username: unknown,
names?: unknown[],
) => {
claims: Record<string, any>;
entryFound: any;
report: any[];
unknown: string[];
} = ...
Type Declaration
-
- (
username: unknown,
names?: unknown[],
): {
claims: Record<string, any>;
entryFound: any;
report: any[];
unknown: string[];
}
-
Parameters
- username: unknown
Optionalnames: unknown[]
Returns {
claims: Record<string, any>;
entryFound: any;
report: any[];
unknown: string[];
}
the claims ready to merge into a response, a per-claim report, the
unresolvable names, and whether an entry was found
Resolves the claims a client requested by name (OIDC Core 5.5) for one person, in one directory read.
A language tag is kept on the name in the response. A name the catalogue cannot produce is reported in
unknown, never refused.