#NEWLINE# def auth_interface_str( self , raw_str ) : #NEWLINE# #INDENT# '\n        generate sign str.\n        ' #NEWLINE# encoded = __hmac_sha1__ ( raw_str , self . __secret_key ) #NEWLINE# return 'Qiniu {0}:{1}' . format ( self . __access_key , encoded )