15.2.1.2.8. Paper Token

class privacyidea.lib.tokens.papertoken.PaperTokenClass(db_token)[source]

The Paper Token allows to print out the next e.g. 100 OTP values. This sheet of paper can be used to authenticate and strike out the used OTP values.

static get_class_info(key=None, ret='all')[source]

returns a subtree of the token definition

Parameters:
  • key (string) – subsection identifier
  • ret (user defined) – default return value, if nothing is found
Returns:

subsection if key exists or user defined

Return type:

dict or scalar

static get_class_prefix()[source]

Return the prefix, that is used as a prefix for the serial numbers. :return: PPR

static get_class_type()[source]

return the token type shortname

Returns:‘paper’
Return type:string
update(param, reset_failcount=True)[source]