mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2024-11-24 08:36:48 +00:00
30 lines
631 B
PHP
30 lines
631 B
PHP
<?php
|
|
namespace Api\V8\OAuth2\Repository;
|
|
|
|
use League\OAuth2\Server\Entities\ClientEntityInterface;
|
|
use League\OAuth2\Server\Repositories\ScopeRepositoryInterface;
|
|
|
|
#[\AllowDynamicProperties]
|
|
class ScopeRepository implements ScopeRepositoryInterface
|
|
{
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
public function getScopeEntityByIdentifier($identifier)
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
public function finalizeScopes(
|
|
array $scopes,
|
|
$grantType,
|
|
ClientEntityInterface $clientEntity,
|
|
$userIdentifier = null
|
|
) {
|
|
// we just return scopes for now
|
|
return $scopes;
|
|
}
|
|
}
|