Nexus API Reference

RequiresAnyScope
in package
implements AuthorizationRequirement

Read onlyYes
FinalYes
Tags
psalm-api

Any-of scope check. 403 if the Principal lacks ALL of the listed scopes (i.e. has none of them). Passes if at least one is present.

Attributes
#[Attribute]
\Attribute::TARGET_CLASS

Table of Contents

Interfaces

AuthorizationRequirement

Properties

$scopes  : array<int, string>

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(string ...$scopes) : mixed
Parameters
$scopes : string
On this page

Search results