mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-03-12 12:36:53 +00:00
29 lines
631 B
PHP
29 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;
|
|
}
|
|
}
|