function OAuthDataStore::new_access_token in OAuth 1.0 7.3
Same name and namespace in other branches
- 6.3 lib/OAuth.php \OAuthDataStore::new_access_token()
1 method overrides OAuthDataStore::new_access_token()
- DrupalOAuthDataStore::new_access_token in includes/
DrupalOAuthDataStore.inc - Generate a new access token and delete the old request token.
File
- lib/
OAuth.php, line 753 - OAuth 1.0 server and client library.
Class
Code
function new_access_token($token, $consumer, $verifier = null) {
// return a new access token attached to this consumer
// for the user associated with this token if the request token
// is authorized
// should also invalidate the request token
}