▸ off<K>(type
: K, handler
: function): void
Inherited from void
Remove an event handler for the given type.
Type parameters:
▪ K: keyof UserInfoEvent
Parameters:
▪ type: K
Type of event to unregister handler
from.
▪ handler: function
Handler function to remove.
▸ (event?
: UserInfoEvent[K]): void
Parameters:
Name | Type |
---|---|
event? | UserInfoEvent[K] |
Returns: void
▸ on<K>(type
: K, handler
: function): void
Inherited from void
Register an event handler for the given type.
Type parameters:
▪ K: keyof UserInfoEvent
Parameters:
▪ type: K
Type of event to listen for.
▪ handler: function
Function to call in response to given event.
▸ (event?
: UserInfoEvent[K]): void
Parameters:
Name | Type |
---|---|
event? | UserInfoEvent[K] |
Returns: void
▸ authExpired(): void
API to notify the unified shell that APIs are returning 401 and the user needs to be re-authenticated.
Returns: void
▸ get<T>(type
: T): Promise‹UserInfo[T]›
Gets the specified type of information about an user.
Type parameters:
▪ T: keyof UserInfo
Parameters:
Name | Type | Description |
---|---|---|
type | T | The type of information to get. |
Returns: Promise‹UserInfo[T]›
Explore details of the Index, Page, TopBar, and User external modules.
Explore the attributes and behavior of Adobe Experience Cloud Interfaces:
Return to the Guides Index.