protected OAuthProviderToken createOAuthToken ( ConsumerAuthentication authentication ) { return getTokenServices ( ) . createUnauthorizedRequestToken ( authentication . getConsumerDetails ( ) . getConsumerKey ( ) , authentication . getOAuthParameters ( ) . get ( OAuthConsumerParameter . oauth_callback . toString ( ) ) ) ; }
Create the OAuth token for the specified consumer key .