<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import <EOL> import oauth2client . devshell as devshell <EOL> from boto . auth_handler import AuthHandler <EOL> from boto . auth_handler import NotReadyToAuthenticate <EOL> class DevshellAuth ( AuthHandler ) : <EOL> """<STR_LIT>""" <EOL> capability = [ '<STR_LIT>' ] <EOL> def __init__ ( self , path , config , provider ) : <EOL> try : <EOL> self . creds = devshell . DevshellCredentials ( ) <EOL> except : <EOL> raise NotReadyToAuthenticate ( ) <EOL> def add_auth ( self , http_request ) : <EOL> http_request . headers [ '<STR_LIT>' ] = '<STR_LIT>' % self . creds . access_token </s>
