<s> import requests . auth <EOL> from . base import AuthPlugin <EOL> class BuiltinAuthPlugin ( AuthPlugin ) : <EOL> package_name = '<STR_LIT>' <EOL> class BasicAuthPlugin ( BuiltinAuthPlugin ) : <EOL> name = '<STR_LIT>' <EOL> auth_type = '<STR_LIT>' <EOL> def get_auth ( self , username , password ) : <EOL> return requests . auth . HTTPBasicAuth ( username , password ) <EOL> class DigestAuthPlugin ( BuiltinAuthPlugin ) : <EOL> name = '<STR_LIT>' <EOL> auth_type = '<STR_LIT>' <EOL> def get_auth ( self , username , password ) : <EOL> return requests . auth . HTTPDigestAuth ( username , password ) </s>
