Skip to main content

Returns

true if the member is authorized; false otherwise or if no policy is cached.
let allowed = StytchB2B.rbac.isAuthorizedSync(resourceId: "documents", action: "read")