IAuthorizationService.hasAnyRole(principal: IPrincipal,roles: readonly string[]): boolean
Usage
import { type IAuthorizationService } from "auth-plugin/src/index.ts";
IAuthorizationService.hasAnyRole(principal: IPrincipal,roles: readonly string[]): boolean
import { type IAuthorizationService } from "auth-plugin/src/index.ts";