#NEWLINE# def __init__( self , otp , translate_otp = True ) : #NEWLINE# #INDENT# '\n        Represents an OTP token.\n\n        :param otp: OTP token.\n        :type: otp: ``str``\n\n        :param translate_otp: True if the OTP should be translated.\n        :type translate_otp: ``bool``\n        ' #NEWLINE# if translate_otp : #NEWLINE# #INDENT# self . otp = self . get_otp_modehex_interpretation ( otp ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . otp = otp #NEWLINE# #UNINDENT# self . device_id = self . otp [ : 12 ] #NEWLINE# self . session_counter = None #NEWLINE# self . timestamp = None #NEWLINE# self . session_user = None