Skip to main content

Example: Add a custom authentication method

To add the custom authentication method valifake.exe to the authentication menu:

  • Create your custom psf.m4 file like this:

    !!!F_AUTH_valifake.exe 
    <tr> 
      TABLE_TDB 
        _VALIFAKE_DESC 
      TABLE_TDE 
      TABLE_TDB 
        <input type="image" alt="_BUTTON_VALIFAKE" title="_BUTTON_VALIFAKE" name="valifake.exe" data-src="_PICSDIR/select.png" style="height: 15px; width: 16px;" class="image" /> 
      TABLE_TDE 
    </tr>
  • Create your custom en-us-language.kvg file like this:

    # KVGROUP-V1.0 
    "language" "EN_US" = { 
      "_VALIFAKE_DESC" "" = { 
        "text" = "Use valifake to enter today's secret phrase" 
      } 
      "_BUTTON_VALIFAKE" "" = { 
        "text" = "Use valifake.exe" 
      } 
    }

See also

Write a customized authentication plugin .