PHP Class fkooman\RemoteStorage\RemoteStorageClientStorage

Inheritance: implements fkooman\OAuth\ClientStorageInterface
Datei anzeigen Open project: fkooman/php-remote-storage Class Usage Examples

Public Methods

Method Description
getClient ( string $clientId, string | null $responseType = null, string | null $redirectUri = null, string | null $scope = null ) : fkooman\OAuth\Client | false Retrieve a client based on clientId, responseType, redirectUri and scope. The parameters except the clientId are optional and are used to support non-registered clients.

Private Methods

Method Description
normalizeRedirectUriOrigin ( $redirectUri )

Method Details

getClient() public method

Retrieve a client based on clientId, responseType, redirectUri and scope. The parameters except the clientId are optional and are used to support non-registered clients.
public getClient ( string $clientId, string | null $responseType = null, string | null $redirectUri = null, string | null $scope = null ) : fkooman\OAuth\Client | false
$clientId string the clientId
$responseType string | null the responseType or null
$redirectUri string | null the redirectUri or null
$scope string | null the scope or null
return fkooman\OAuth\Client | false if the client exists with the clientId it returns Client, otherwise false