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 with the given $id.
File
- ./
oauth2_client.module, line 158 - Provides OAuth2 client functionality.
Code
function oauth2_client_get_token($id) {
return OAuth2\Client::loadToken($id);
}