Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
ClientRepository Class Reference
Inheritance diagram for ClientRepository:

Public Member Functions

 getClientEntity ($clientIdentifier)
 
 validateClient ($clientIdentifier, $clientSecret, $grantType)
 

Protected Member Functions

 verifySecret ($clientSecret, $storedHash)
 

Member Function Documentation

getClientEntity (   $clientIdentifier)

Get a client.

Parameters
string$clientIdentifierThe client's identifier
validateClient (   $clientIdentifier,
  $clientSecret,
  $grantType 
)

Validate a client's secret.

Parameters
string$clientIdentifierThe client's identifier
string | null$clientSecretThe client's secret (if sent)
string | null$grantTypeThe type of grant the client is using (if sent)
verifySecret (   $clientSecret,
  $storedHash 
)
protected
Parameters
string$clientSecret
string$storedHash

The documentation for this class was generated from the following file: