$scopes the required scopes * @param string $claim the claim to check for scopes * @param string $separator the separator used to split scopes in the claim */ public function __construct( private array $scopes = [], private string $claim = 'scope', private string $separator = ' ' ) { } public function getScopes(): array { return $this->scopes; } public function getClaim(): string { return $this->claim; } public function getSeparator(): string { return $this->separator; } }