Show / Hide Table of Contents

Class PhoenixUser

An abstract class to create device specific users.

Inheritance
System.Object
PhoenixUser
Namespace: Phoenix.Users
Assembly: Phoenix.Abstractions.Users.dll
Syntax
public class PhoenixUser : BindableBase

Constructors

View Source

PhoenixUser(IDevice, String, String)

Initializes a new instance of the PhoenixUser class.

Declaration
public PhoenixUser(IDevice device, string id, string email)
Parameters
Type Name Description
IDevice device

The device the email was/will be registered to.

System.String id

The unique id of the user.

System.String email

The email of the user.

View Source

PhoenixUser(IDevice, String, String, String, Boolean)

Initializes a new instance of the PhoenixUser class.

Declaration
public PhoenixUser(IDevice device, string id, string email, string friendlyName, bool isSignedIn)
Parameters
Type Name Description
IDevice device

The device the email was/will be registered to.

System.String id

The unique id of the user.

System.String email

The email of the user.

System.String friendlyName

The friendly name.

System.Boolean isSignedIn

Value indicates whether user is signed in or not.

Properties

View Source

Device

Gets the device associated with this user.

Declaration
public IDevice Device { get; }
Property Value
Type Description
IDevice
View Source

Email

Gets the user email address.

Declaration
public string Email { get; }
Property Value
Type Description
System.String
View Source

FriendlyName

Gets the friendly name of the user.

Declaration
public string FriendlyName { get; }
Property Value
Type Description
System.String
View Source

Id

Gets the user's unique id.

Declaration
public string Id { get; }
Property Value
Type Description
System.String
View Source

IsSignedIn

Gets or sets a value indicating whether the user is signed in or not.

Declaration
public bool IsSignedIn { get; set; }
Property Value
Type Description
System.Boolean
View Source

Password

Gets or sets the user password.

Declaration
public string Password { get; set; }
Property Value
Type Description
System.String

Methods

View Source

Serialize()

Serializes this user.

Declaration
public SerializableUser Serialize()
Returns
Type Description
SerializableUser

A new serialized instance.

  • View Source
In This Article
Back to top Generated by DocFX