OTPGeneratorValve

Valve for generating one-time passwords.

Properties

Name Description Default value Mandatory Supports property expansion
name Property where the one-time password will be stored. Yes No
length The length of the one-time password. 6 No No
alpha_numeric If alpha numeric OTP's should be created. false No No
valid_time_in_seconds Number of seconds the OTP is valid. 120 No No

Example Configuration

{
    "name": "OTPGeneratorValve",
    "config": { 
        "name":"generated_otp",
        "length":"4",
        "valid_time_in_seconds":"60"
    }
}

Requirements

Item set must have at least one entry.