Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
OpenXPKI::Server::AuthUserOContributedrPerl:Documentcation::OneTimePassword(3)

Name
       OpenXPKI::Server::Authentication::OneTimePassword

Description
       Provides	an authentication handler for One Time Passwords based on
       datapool	items. The handler expects the token as	username.

Functions
   new
       is the constructor. It requires the config prefix as single argument.

Configuration
   Parameters
       type
	   Name	of the authenticaton class, must be OneTimePassword

       salt
	   To hide the plain tokens from database admins, the datapool key is
	   the salted and hashed token.	This defines the used salt and is the
	   only	mandatory parameter for	the handler.

       role, optional
	   Set a fixed role for	this login handler, if not set the role	must
	   be passed in	the datapool item.

       namespace, optional
	   The string used as namespace	to lookup the datapool items, the
	   default is sys.auth.otp.

       permanent, optional
	   If set to a true value, the OTP is not purged after the login was
	   successful.

   Datapool Item
       Realm 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.

       user
	   The username	to use

       role
	   The role to set, only effective if the handler has not set a	role.

perl v5.32.0		  OpenXPKI::Server::Authentication::OneTimePassword(3)

Name | Description | Functions | Configuration

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=OpenXPKI::Server::Authentication::OneTimePassword&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help