Client ​
- Type
- Class
- Namespace
- craft\oauth
- Inherits
- craft\oauth\Client
- Implements
League\OAuth2\Server\Entities\ClientEntityInterface- Uses traits
League\OAuth2\Server\Entities\Traits\ClientTrait,League\OAuth2\Server\Entities\Traits\EntityTrait
Public Properties ​
| Property | Description |
|---|---|
| scopes | string[], null – The scopes the client may request, or null for any scope, as in Passport. |
scopes ​
The scopes the client may request, or null for any scope, as in Passport.
Public Methods ​
| Method | Description |
|---|---|
| __construct() | |
| hasScope() | Whether the client may request a scope, per its scopes, as Passport’s Client::hasScope() checks. |
| supportsGrantType() | Whether the client may use a grant type, per its grant_types, as Passport’s Client::hasGrantType() checks. |
__construct() ​
Arguments ​
$row
hasScope() ​
Whether the client may request a scope, per its scopes, as Passport’s Client::hasScope() checks.
Arguments ​
$scope
supportsGrantType() ​
Whether the client may use a grant type, per its grant_types, as Passport’s Client::hasGrantType() checks.
Arguments ​
$grantType