<s> """<STR_LIT>""" <EOL> from social . backends . oauth import BaseOAuth1 <EOL> READABILITY_API = '<STR_LIT>' <EOL> class ReadabilityOAuth ( BaseOAuth1 ) : <EOL> """<STR_LIT>""" <EOL> name = '<STR_LIT>' <EOL> ID_KEY = '<STR_LIT:username>' <EOL> AUTHORIZATION_URL = '<STR_LIT>' . format ( READABILITY_API ) <EOL> REQUEST_TOKEN_URL = '<STR_LIT>' . format ( READABILITY_API ) <EOL> ACCESS_TOKEN_URL = '<STR_LIT>' . format ( READABILITY_API ) <EOL> EXTRA_DATA = [ ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) ] <EOL> def get_user_details ( self , response ) : <EOL> fullname , first_name , last_name = self . get_user_names ( <EOL> first_name = response [ '<STR_LIT>' ] , <EOL> last_name = response [ '<STR_LIT>' ] <EOL> ) <EOL> return { '<STR_LIT:username>' : response [ '<STR_LIT:username>' ] , <EOL> '<STR_LIT>' : fullname , <EOL> '<STR_LIT>' : first_name , <EOL> '<STR_LIT>' : last_name } <EOL> def user_data ( self , access_token ) : <EOL> return self . get_json ( READABILITY_API + '<STR_LIT>' , <EOL> auth = self . oauth_auth ( access_token ) ) </s>
