interface ScopeAuthorizable

Methods

bool
can(string $scope)

Determine if the token has a given scope.

bool
cant(string $scope)

Determine if the token is missing a given scope.

Details

at line 12
bool can(string $scope)

Determine if the token has a given scope.

Parameters

string $scope

Return Value

bool

at line 17
bool cant(string $scope)

Determine if the token is missing a given scope.

Parameters

string $scope

Return Value

bool