Method | Description | |
---|---|---|
getAccessTokenUrl ( ) : string | Returns the path to the page where we request the access token. | |
getAuthorizeUrl ( ) : string | Returns the path to OAuth2 authorize page. | |
getServerName ( ) : string | Returns the server name. | |
processAuthResponse ( array $response ) : string | This method is called when user is redirected to the redirect_uri from the authorization step. | |
processUserDetails ( array $result ) : |
This method is called automatically when the OAuth2 server returns a response containing user details. |
Method | Description | |
---|---|---|
getUserDetailsTargetData ( ) : array | Returns an array [url, params]. |
public getAccessTokenUrl ( ) : string | ||
return | string | Url to access token page. |
public getAuthorizeUrl ( ) : string | ||
return | string | Url to OAuth2 authorize page. |
public getServerName ( ) : string | ||
return | string |
protected getUserDetailsTargetData ( ) : array | ||
return | array |
public processAuthResponse ( array $response ) : string | ||
$response | array | Response from the OAuth2 server. |
return | string | Access token. |
public processUserDetails ( array $result ) : |
||
$result | array | OAuth2 server response. |
return |