Méthode |
Description |
|
__call ( string $name, array $arguments ) : mixed |
Call adapter methods defined in the adapter model:
getUserProfile()
getUserContacts()
getUserActivity()
setUserStatus() |
|
api ( ) : stdClass |
Naive getter of the current connected IDp API client |
|
factory ( string $id, array $params = [] ) : Hybrid_Provider_Adapter |
Create a new adapter switch IDp name or ID |
|
getAccessToken ( ) : array |
If the user is connected, then return the access_token and access_token_secret
if the provider api use oauth |
|
getConfigById ( string $id ) : mixed |
Return the provider config by id |
|
getProviderCiId ( string $id ) : mixed |
Return the provider config by id; case insensitive |
|
isUserConnected ( ) : boolean |
Return true if the user is connected to the current provider |
|
login ( ) : void |
Hybrid_Provider_Adapter::login(), prepare the user session and the authentication request
for index.php |
|
logout ( ) : boolean |
Let hybridauth forget all about the user for the current provider |
|
returnToCallbackUrl ( ) : void |
Redirect the user to hauth_return_to (the callback url) |
|