You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Identity (inherited from the base IContext): the identity requesting authorization.
RequiredPermissions/RequiredPermissionTypes: the list of permissions to check.
Scope (optional): a scope object for which the required permissions apply.
ThrowOnFailure (default true): A boolean value indicating whether to throw on authorization failure. If false is indicated, the authorization check will return false upon failure, otherwise an exception will occur.