Auth korrigiert & mail based on SES

This commit is contained in:
2024-03-12 20:26:58 +01:00
parent be146fdc6a
commit f3868da8f8
7 changed files with 96 additions and 35 deletions

View File

@@ -88,7 +88,28 @@ export interface UserBase {
export interface User extends UserBase {
licensedIn?:KeyValue[];
}
export interface KeycloakUser {
id: string
createdTimestamp: number
username: string
enabled: boolean
totp: boolean
emailVerified: boolean
firstName: string
lastName: string
email: string
disableableCredentialTypes: any[]
requiredActions: any[]
notBefore: number
access: Access
}
export interface Access {
manageGroupMembership: boolean
view: boolean
mapRoles: boolean
impersonate: boolean
manage: boolean
}
export interface Subscription {
id: string;
userId:string
@@ -144,4 +165,15 @@ export interface PageEvent {
export interface AutoCompleteCompleteEvent {
originalEvent: Event;
query: string;
}
export interface MailInfo {
sender: Sender;
userId: string;
}
export interface Sender {
name?: string;
email?: string;
phoneNumber?: string;
state?: string;
comments?: string;
}