ea3225a6e1
Closes #22532 Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
import type UserConsentRepresentation from "./userConsentRepresentation.js";
|
|
import type CredentialRepresentation from "./credentialRepresentation.js";
|
|
import type FederatedIdentityRepresentation from "./federatedIdentityRepresentation.js";
|
|
import type { RequiredActionAlias } from "./requiredActionProviderRepresentation.js";
|
|
import type UserProfileConfig from "./userProfileConfig.js";
|
|
|
|
export default interface UserRepresentation {
|
|
id?: string;
|
|
createdTimestamp?: number;
|
|
username?: string;
|
|
enabled?: boolean;
|
|
totp?: boolean;
|
|
emailVerified?: boolean;
|
|
disableableCredentialTypes?: string[];
|
|
requiredActions?: (RequiredActionAlias | string)[];
|
|
notBefore?: number;
|
|
access?: Record<string, boolean>;
|
|
|
|
// optional from response
|
|
attributes?: Record<string, any>;
|
|
clientConsents?: UserConsentRepresentation[];
|
|
clientRoles?: Record<string, any>;
|
|
credentials?: CredentialRepresentation[];
|
|
email?: string;
|
|
federatedIdentities?: FederatedIdentityRepresentation[];
|
|
federationLink?: string;
|
|
firstName?: string;
|
|
groups?: string[];
|
|
lastName?: string;
|
|
origin?: string;
|
|
realmRoles?: string[];
|
|
self?: string;
|
|
serviceAccountClientId?: string;
|
|
userProfileMetadata?: UserProfileConfig;
|
|
}
|