@citrineos/base
Version:
The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.
30 lines (29 loc) • 505 B
TypeScript
/**
* Interface for user information extracted from authentication tokens
*/
export interface UserInfo {
/**
* The user ID.
*/
id: string;
/**
* The username.
*/
name: string;
/**
* The user email.
*/
email: string;
/**
* The user roles.
*/
roles: string[];
/**
* Tenant ID associated with the user.
*/
tenantId: string;
/**
* Additional fields associated with the user
*/
[]: any;
}