@classmethod<EOL><INDENT>def auth(<EOL>cls, consumer_key, redirect_uri='<STR_LIT>', state=None,<EOL>):<DEDENT>
code = cls.get_request_token(consumer_key, redirect_uri, state)<EOL>auth_url = '<STR_LIT>''<STR_LIT>' % (code, redirect_uri)<EOL>raw_input(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>' % auth_url<EOL>)<EOL>return cls.get_access_token(consumer_key, code)<EOL>
This is a test method for verifying if oauth worked
http://getpocket.com/developer/docs/authentication