webauthn/src/Application/Model/WebauthnConf.php

31 lignes
1.4 KiB
PHP
Brut Vue normale Historique

2022-10-24 22:24:40 +02:00
<?php
/**
* This Software is the property of Data Development and is protected
* by copyright law - it is NOT Freeware.
* Any unauthorized use of this software without a valid license
* is a violation of the license agreement and will be prosecuted by
* civil and criminal law.
* http://www.shopmodule.com
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
* @link http://www.oxidmodule.com
*/
namespace D3\Webauthn\Application\Model;
2022-10-26 22:27:25 +02:00
class WebauthnConf
2022-10-24 22:24:40 +02:00
{
2022-10-31 00:11:06 +01:00
public const WEBAUTHN_SESSION_AUTH = 'webauthn_auth'; // has valid webauthn, user is logged in completly
public const WEBAUTHN_LOGIN_OBJECT = 'authnloginobject'; // webauthn register options, required for credential check
public const WEBAUTHN_SESSION_CURRENTUSER = 'd3webauthnCurrentUser'; // oxid assigned to user from entered username
public const WEBAUTHN_SESSION_LOGINUSER = 'd3webauthnLoginUser'; // username entered in login form
public const WEBAUTHN_SESSION_CURRENTCLASS = 'd3webauthnCurrentClass'; // no usage
public const WEBAUTHN_SESSION_NAVFORMPARAMS = 'd3webauthnNavFormParams'; // no usage
2022-10-31 23:17:04 +01:00
public const GLOBAL_SWITCH = 'blDisableWebauthnGlobally';
2022-11-01 23:42:25 +01:00
public const TYPE_CREATE = 'TYPECREATE';
public const TYPE_GET = 'TYPEGET';
2022-10-24 22:24:40 +02:00
}