function oauth2_client_get_token in OAuth2 Client 7.2
Same name in this branch
- 7.2 oauth2_client.module \oauth2_client_get_token()
- 7.2 oauth2_client.api.php \oauth2_client_get_token()
Same name and namespace in other branches
- 8 oauth2_client.module \oauth2_client_get_token()
- 8 oauth2_client.api.php \oauth2_client_get_token()
- 7 oauth2_client.module \oauth2_client_get_token()
Returns the access token of the oauth2_client for the given $client_id.
File
- ./
oauth2_client.api.php, line 145 - The programing interface provided by the module oauth2_client.
Code
function oauth2_client_get_token($client_id) {
return OAuth2\Client::loadToken($client_id);
}