|  |  
 |   |   
 NameOpenXPKI::Server::Authentication::OneTimePassword DescriptionProvides an authentication handler for One Time Passwords based on datapool items. Login ParametersThe handler expects the token with key token. Configuration Parameters
 Datapool ItemRealm and token expiration is controlled via the properties of the datapool item, the user, role and token type are read from the value held in the datapool. The value must be a (serialized) hash. Example ConfigurationCreate a stack with type password and a single input field.   stack:
    OTP:
      label: OneTimePassword
      handler: OneTimePassword
      type: passwd
      param:
        label: I18N_OPENXPKI_UI_OTP_LOGIN_LABEL
        description: I18N_OPENXPKI_UI_OTP_LOGIN_DESC
        button: I18N_OPENXPKI_UI_OTP_LOGIN_BUTTON
        field:
            - name: token
            label: I18N_OPENXPKI_UI_LOGIN_TOKEN
            type: password
  handler:
    OneTimePassword:
      type: OneTimePassword
      salt: openxpki
      role: User
 
 |