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. |
Method | Description | |
---|---|---|
getUserDetailsTargetData ( ) : array | Returns an array [url, params]. | |
processUserDetails ( array $result ) : |
This method is called automatically when the OAuth2 server returns a response containing user details. |
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 |
protected processUserDetails ( array $result ) : |
||
$result | array | OAuth2 server response. |
return |