class MoAuthConstants in Google Authenticator / 2 Factor Authentication - 2FA 8
Same name and namespace in other branches
- 8.2 src/MoAuthConstants.php \Drupal\miniorange_2fa\MoAuthConstants
@file This class represents constants used throughout project.
Hierarchy
- class \Drupal\miniorange_2fa\MoAuthConstants
Expanded class hierarchy of MoAuthConstants
6 files declare their use of MoAuthConstants
- authenticate_user.php in src/
Form/ authenticate_user.php - This is used to authenticate user during login.
- configure_qrcode_authentication.php in src/
Form/ configure_qrcode_authentication.php - miniorange_2fa_inline_registration.php in src/
Form/ miniorange_2fa_inline_registration.php - MoAuthCustomerSetup.php in src/
Form/ MoAuthCustomerSetup.php - Contains form for customer setup.
- test_email_verification.php in src/
Form/ test_email_verification.php - Email verification functions.
File
- src/
MoAuthConstants.php, line 11 - Contains constants class.
Namespace
Drupal\miniorange_2faView source
class MoAuthConstants {
public static $MODULE_NAME = 'mo_auth';
public static $BASE_URL = 'https://login.xecurify.com/moas';
public static $PLUGIN_NAME = 'Drupal Two-Factor Plugin';
public static $TRANSACTION_NAME = 'Drupal Two-Factor Module';
public static $DEFAULT_CUSTOMER_ID = '16622';
//Auth
public static $DEFAULT_CUSTOMER_API_KEY = 'XzjkmAaAOzmtJRmXddkXyhgDXnMCrdZz';
//Auth
//public static $DEFAULT_CUSTOMER_ID = '18070'; //Test
//public static $DEFAULT_CUSTOMER_API_KEY = 'CNB86zQmaAPFhs71b8SdemFZhwpDzXyg'; //Test
public static $CUSTOMER_CHECK_API = 'https://login.xecurify.com/moas/rest/customer/check-if-exists';
public static $CUSTOMER_CREATE_API = 'https://login.xecurify.com/moas/rest/customer/add';
public static $CUSTOMER_GET_API = 'https://login.xecurify.com/moas/rest/customer/key';
public static $CUSTOMER_CHECK_LICENSE = 'https://login.xecurify.com/moas/rest/customer/license';
public static $SUPPORT_QUERY = 'https://login.xecurify.com/moas/rest/customer/contact-us';
public static $USERS_CREATE_API = 'https://login.xecurify.com/moas/api/admin/users/create';
public static $USERS_GET_API = 'https://login.xecurify.com/moas/api/admin/users/get';
public static $USERS_UPDATE_API = 'https://login.xecurify.com/moas/api/admin/users/update';
public static $USERS_SEARCH_API = 'https://login.xecurify.com/moas/api/admin/users/search';
public static $AUTH_CHALLENGE_API = 'https://login.xecurify.com/moas/api/auth/challenge';
public static $AUTH_VALIDATE_API = 'https://login.xecurify.com/moas/api/auth/validate';
public static $AUTH_STATUS_API = 'https://login.xecurify.com/moas/api/auth/auth-status';
public static $AUTH_REGISTER_API = 'https://login.xecurify.com/moas/api/auth/register';
public static $AUTH_REGISTRATION_STATUS_API = 'https://login.xecurify.com/moas/api/auth/registration-status';
public static $AUTH_GET_GOOGLE_AUTH_API = 'https://login.xecurify.com/moas/api/auth/google-auth-secret';
public static $AUTH_GET_ALL_USER_API = 'https://login.xecurify.com/moas/api/admin/users/getall';
}