|
RequestToken
How the RequestToken api works
IntroductionThe RequestToken is used for the Authentication phase of the OAuth protocol This is only used from the ConsumerService side. RequestToken lifecycle
Contains
CreationYou ask a Consumer object to request the token from the ServiceProvider @request_token=@consumer.get_request_token AuthorizationRedirect the user to the authorization_url: redirect_to @request_token.authorization_url Exchange for AccessTokenOnce the user is redirected back to the callback url you can exchange it: @access_token=@request_token.get_access_token |
Sign in to add a comment