def Authenticate(opener, host, user, pwd, otp_entry):
 request_dict = {'username': user, 'password': pwd, 'otp': otp_entry}
 req = _MakeRequest(host, '/otp', request_dict)
 return _HandleResponse('authentication', opener.open(req))

def Authenticate ( opener , host , user , pwd , otp_entry ) : request_dict = { 'username' : user , 'password' : pwd , 'otp' : otp_entry } req = _MakeRequest ( host , '/otp' , request_dict ) return _HandleResponse ( 'authentication' , opener . open ( req ) )
authenticates the user/pwd/otp_entry combination .