$apps
Updated on Aug 19, 2025 1 minutes to readThe Apps Plugin provides convenient methods for retrieving information about allowed applications and the current application context.
Methods
Method | Description |
---|---|
getAllowed | Returns the list of applications allowed for the current user. |
getCurrent | Returns the current application or null if no application is active. |
Methods Details
getAllowed()
• Type
() => Promise<Array<Application>>
• Details
Returns a Promise resolving to an array of Application objects that represent the applications allowed for the current user.
getCurrent()
• Type
() => Promise<Application | null>
• Details
Returns a Promise resolving to the current Application, or null
if there is no active application.