Pobieranie kontekstu zalogowanego użytkownika
API
interface User {
v1: {
identity(): UserIdentity
}
}
interface UserIdentity {
userId(): string,
roles(): string[],
firstName(): string,
lastName(): string,
type(): 'client'|'employee'|'otp',
system(): string
}Kontekst działania
Przykłady użycia
Pobieranie danych użytkownika
Last updated
Was this helpful?
