<?php
namespace Nibiru\Module\Users\Interfaces;
/**
 * @desc this file is for the autoloader to function properly,
 * you might as well use it as the primary user interface for your
 * application
 * Created by PhpStorm.
 * User: kasdorf
 * Date: 28.08.18
 * Time: 11:21
 */

interface Users
{
    const CONFIG_MODULE_NAME = 'users';
    const FORM_CREATE_USER = [
         [ 'visibleName' => 'Benutzername', 'valueName' => 'user_login', 'icon' => 'lock' ],
         [ 'visibleName' => 'Vorname', 'valueName' => 'user_firstname', 'icon' => 'user' ],
         [ 'visibleName' => 'Nachname', 'valueName' => 'user_lastname', 'icon' => 'user' ],
    ];
    const FORM_CREATE_PASSWORD = [
        [ 'visibleName' => 'Passwort', 'valueName' => 'user_pass', 'icon' => 'lock' ],
        [ 'visibleName' => 'Passwort wiederholen', 'valueName' => 'password_repeat', 'icon' => 'lock' ],
    ];

    const FORM_CREATE_ACCOUNT = [
        [ 'visibleName' => 'Konto Name', 'valueName' => 'user_account_name', 'icon' => 'wallet' ],
        [ 'visibleName' => 'Konto Email', 'valueName' => 'user_account_email', 'icon' => 'email' ]
    ];
    const REGISTRY_USER_KEYS = [
        'user_firstname',
        'user_lastname',
        'user_login',
        'user_active',
        'user_acl_id',
        'user_account_name',
        'user_account_active',
        'user_account_email',
        'user_pass'
    ];
    const FORM_CHECKBOX_SWITCH = [
        'on' => true,
        'off' => false
    ];
    const FORM_CHECKBOX_ON = "on";
    const FORM_CHECKBOX_OFF = "off";
    const USER_ID_ENCRYPTION = 'user_id_encryption';
    const USER_ID_ENCRYPTION_KEY = 'user_id_encryption_key';
}