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. |
Method | Description | |
---|---|---|
normalizeRedirectUriOrigin ( $redirectUri ) |
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 |