#NEWLINE# def get_user_info( self , token ) : #NEWLINE# #INDENT# fields = providers . registry . by_id ( LinkedInOAuth2Provider . id ) . get_profile_fields ( ) #NEWLINE# url = ( self . profile_url + ( ':(%s)?format=json' % ',' . join ( self ) ) ) #NEWLINE# resp = requests . get ( url , params = { #NEWLINE# #INDENT# 'oauth2_access_token' : token . token , #NEWLINE# #UNINDENT# } ) #NEWLINE# return resp . json ( )