class AuthorizeToken extends Middleware

Methods

__construct(array|string $scopes, bool $anyScope = false, array|null $only = null, array|null $except = null)

Create a token scope authorization attribute.

Details

at line 22
__construct(array|string $scopes, bool $anyScope = false, array|null $only = null, array|null $except = null)

Create a token scope authorization attribute.

Parameters

array|string $scopes
bool $anyScope
array|null $only
array|null $except