Twitter - velruse.providers.twitter¶
The Twitter provider combines authentication with OAuth authorization. It requires a Twitter Application to have been created to use. Twitter only provides the twitter screen name and id, along with an OAuth access token.
Twitter Developer Links:
Settings¶
consumer_key- Twitter application consumer key
consumer_secret- Twitter application secret
POST Parameters¶
Complete Example:
<form action="/velruse/twitter/login" method="post">
<input type="submit" value="Login with Twitter" />
</form>
Pyramid API¶
Twitter Authentication Views
-
class
TwitterAuthenticationComplete(profile=None, credentials=None, provider_name=None, provider_type=None)[source]¶ Bases:
velruse.AuthenticationCompleteTwitter auth complete