class ClientRepository extends EntityRepository implements ClientRepositoryInterface (View source)

Methods

findPublicEntities()

No description

findExpressForms()

No description

ClientEntityInterface
getClientEntity(string $clientIdentifier, string $grantType = null, null|string $clientSecret = null, bool $mustValidateSecret = true)

Get a client.

bool
validateClient(string $clientIdentifier, null|string $clientSecret, null|string $grantType)

Validate a client's secret.

find($id, $lockMode = null, $lockVersion = null)

No description

Details

findPublicEntities()

No description

findExpressForms()

No description

findOneByResultsNode(ExpressEntryResults $node)

No description

Parameters

ExpressEntryResults $node

ClientEntityInterface getClientEntity(string $clientIdentifier, string $grantType = null, null|string $clientSecret = null, bool $mustValidateSecret = true)

Get a client.

Parameters

string $clientIdentifier

The client's identifier

string $grantType

The grant type used

null|string $clientSecret

The client's secret (if sent)

bool $mustValidateSecret

If true the client must attempt to validate the secret if the client is confidential

Return Value

ClientEntityInterface

Exceptions

OAuthServerException

bool validateClient(string $clientIdentifier, null|string $clientSecret, null|string $grantType)

Validate a client's secret.

Parameters

string $clientIdentifier

The client's identifier

null|string $clientSecret

The client's secret (if sent)

null|string $grantType

The type of grant the client is using (if sent)

Return Value

bool

Client find($id, $lockMode = null, $lockVersion = null)

No description

Parameters

$id
$lockMode
$lockVersion

Return Value

Client