vix-ui
Version:
28 lines (27 loc) • 619 B
TypeScript
/**
* UserInfo holds the user information
*/
export declare class UserInfo {
userId: string;
email: string;
firstName: string;
lastName: string;
/**
* Extract necessary information oktaUserInfo
* @param oktaUserInfo, example:
* {
* "id": "foobar",
* ...
* "profile": {
* "firstName": "foobar",
* "lastName": "foobar",
* "mobilePhone": null,
* "secondEmail": null,
* "login": "foo@bar.com",
* "email": "foo@bar.com"
* },
* ...
* }
*/
constructor(oktaUserInfo: any);
}