$apps
Updated on Aug 19, 2025 2 minutes to readThe Apps Plugin provides convenient methods for retrieving information about allowed applications and the current application context.
Methods
Method | Description |
---|---|
getAll | Returns the list of all applications available on the server. |
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
getAll()
• Type
() => Array<Application>
• Details
Returns an array of Application objects representing all applications available.
getAllowed()
• Type
() => Array<Application>
• Details
Returns an array of Application objects representing the applications allowed for the current user.
getCurrent()
• Type
() => Application | null
• Details
Returns the current Application, or null if no application is active.