| Server IP : 13.126.101.145 / Your IP : 216.73.217.50 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ip-11-115-0-196 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/rentals_updated/wp-content/plugins/wpo365-login/Core/ |
Upload File : |
<?php
namespace Wpo\Core;
// prevent public access to this script
defined('ABSPATH') or die();
if (!class_exists('\Wpo\Core\User')) {
class User
{
/**
* Email address of user
*
* @since 1.0.0
*
* @var string
*/
public $email = '';
/**
* Unique user's principal name
*
* @since 1.0.0
*
* @var string
*/
public $upn = '';
/**
* User's preferred name
*
* @since 1.0.0
*
* @var string
*/
public $preferred_username = '';
/**
* Custom claim used as Username
*
* @since 24.0
*
* @var string
*/
public $custom_username = '';
/**
* Name of user
*
* @since 1.0.0
*
* @var string
*/
public $name = '';
/**
* User's first name
*
* @since 1.0.0
*
* @var string
*/
public $first_name = '';
/**
* User's last name incl. middle name etc.
*
* @since 1.0.0
*
* @var string
*/
public $last_name = '';
/**
* User's full ( or display ) name
*
* @since 1.0.0
*
* @var string
*/
public $full_name = '';
/**
* Office 365 and/or Azure AD group ids
*/
public $groups = array();
/**
* User's tenant ID
*/
public $tid = '';
/**
* User's Azure AD object ID
*/
public $oid = '';
/**
* True is the user was created during the current script execution
*/
public $created = false;
/**
* True is the user was created from an ID Token / SAML response
*/
public $from_idp_token = false;
/**
* The Graph Resource for this user
*/
public $graph_resource = null;
/**
* The SAML attributes for this user
*/
public $saml_attributes = array();
/**
* The SCIM attributes for this user
*/
public $scim_attributes = array();
/**
* The ID token for this user
*/
public $id_token = null;
/**
* The App Roles for this users
* @var array
*/
public $app_roles = array();
/**
* Flag to indicate whether the user signed in with a MSA account e.g. outlook.com
*/
public $is_msa = false;
}
}