ClientRepository
class ClientRepository implements ClientRepositoryInterface
Methods
ClientEntityInterface|null
getClientEntity(string $clientIdentifier)
Retrieve an active client entity by its identifier.
bool
validateClient(string $clientIdentifier, string|null $clientSecret, string|null $grantType)
Validate the client secret.
ClientEntityInterface|null
getPersonalAccessClientEntity(string $provider)
Get the personal access client for the given provider.
ClientEntityInterface
Details
at line 18
__construct(ClientRepository $clients)
Create a new repository instance.
at line 28
ClientEntityInterface|null
getClientEntity(string $clientIdentifier)
Retrieve an active client entity by its identifier.
{@inheritdoc}
at line 40
bool
validateClient(string $clientIdentifier, string|null $clientSecret, string|null $grantType)
Validate the client secret.
{@inheritdoc}
at line 50
ClientEntityInterface|null
getPersonalAccessClientEntity(string $provider)
Get the personal access client for the given provider.
at line 60
protected ClientEntityInterface
fromClientModel(Client $model)
Create a new client entity from the given client model instance.