Nexus API Reference

AuthMetadata
in package

Read onlyYes
FinalYes

Table of Contents

Properties

$authorize  : array<string|int, mixed>
$requiresAnyRole  : array<string|int, mixed>
$requiresAnyScope  : array<string|int, mixed>
$requiresAuth  : bool
$requiresRole  : array<string|int, mixed>
$requiresScope  : array<string|int, mixed>

Methods

__construct()  : mixed
hasAnyAttribute()  : bool

Properties

$requiresAnyRole

public array<string|int, mixed> $requiresAnyRole

$requiresAnyScope

public array<string|int, mixed> $requiresAnyScope

$requiresRole

public array<string|int, mixed> $requiresRole

$requiresScope

public array<string|int, mixed> $requiresScope

Methods

__construct()

public __construct(bool $requiresAuth, array<int, array<int, string>> $requiresScope, array<int, array<int, string>> $requiresAnyScope, array<int, array<int, string>> $requiresRole, array<int, array<int, string>> $requiresAnyRole, array<int, class-string> $authorize) : mixed
Parameters
$requiresAuth : bool
$requiresScope : array<int, array<int, string>>

each inner list = ALL required

$requiresAnyScope : array<int, array<int, string>>

each inner list = ANY required

$requiresRole : array<int, array<int, string>>
$requiresAnyRole : array<int, array<int, string>>
$authorize : array<int, class-string>

hasAnyAttribute()

public hasAnyAttribute() : bool
Return values
bool

        
On this page

Search results