2024-05-02 12:07:42 +00:00
|
|
|
import type { ZitaldelClient } from './classes.zitadelclient.js';
|
2024-05-02 10:52:21 +00:00
|
|
|
import * as plugins from './zitadel.plugins.js';
|
|
|
|
|
2024-05-02 12:07:42 +00:00
|
|
|
export interface IZitadelUserData {
|
|
|
|
id: string;
|
|
|
|
lastLogin: Date;
|
|
|
|
username: string;
|
|
|
|
};
|
2024-05-02 10:52:21 +00:00
|
|
|
|
|
|
|
export class ZitaldelUser {
|
2024-05-02 12:07:42 +00:00
|
|
|
zitadelclientRef: ZitaldelClient;
|
|
|
|
|
|
|
|
constructor(zitadelclientRefArg: ZitaldelClient, dataArg: IZitadelUserData) {
|
|
|
|
this.zitadelclientRef = zitadelclientRefArg;
|
|
|
|
this.data = dataArg;
|
2024-05-02 10:52:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// INSTANCE
|
2024-05-02 12:07:42 +00:00
|
|
|
data: IZitadelUserData;
|
2024-05-02 10:52:21 +00:00
|
|
|
}
|