Refreshes the RBAC policy from the server, then returns a map of all permissions for the logged-in member in the form Map<resourceId, Map<action, Boolean>>.
val permissions = StytchB2B.rbac.allPermissions()
Returns
A map of resourceId to Map<action, Boolean> representing all permissions.
val permissions = StytchB2B.rbac.allPermissions()
Assistant
Responses are generated using AI and may contain mistakes.