Table of Contents

Class CookieToken

Namespace
Shift.Contract
Assembly
Shift.Common.dll
public class CookieToken : ISystemRoles
Inheritance
CookieToken
Implements
Inherited Members
Extension Methods

Constructors

CookieToken()

public CookieToken()

Properties

AuthenticationSource

public string AuthenticationSource { get; set; }

Property Value

string

Created

public string Created { get; set; }

Property Value

string

CurrentBrowser

public string CurrentBrowser { get; set; }

Property Value

string

CurrentBrowserVersion

public string CurrentBrowserVersion { get; set; }

Property Value

string

CurrentOrganization

public string CurrentOrganization { get; set; }

Property Value

string

Environment

public string Environment { get; set; }

Property Value

string

ID

public Guid ID { get; set; }

Property Value

Guid

ImpersonatorOrganization

public string ImpersonatorOrganization { get; set; }

Property Value

string

ImpersonatorUser

public string ImpersonatorUser { get; set; }

Property Value

string

IsAdministrator

public bool IsAdministrator { get; set; }

Property Value

bool

IsAuthenticated

public bool IsAuthenticated { get; }

Property Value

bool

IsDeveloper

public bool IsDeveloper { get; set; }

Property Value

bool

IsLearner

public bool IsLearner { get; set; }

Property Value

bool

IsOperator

public bool IsOperator { get; set; }

Property Value

bool

Language

public string Language { get; set; }

Property Value

string

Modified

public string Modified { get; set; }

Property Value

string

OrganizationCode

public string OrganizationCode { get; set; }

Property Value

string

OrganizationIdentifier

public Guid? OrganizationIdentifier { get; set; }

Property Value

Guid?

Session

public string Session { get; set; }

Property Value

string

TimeZoneId

public string TimeZoneId { get; set; }

Property Value

string

UserEmail

public string UserEmail { get; set; }

Property Value

string

UserIdentifier

public Guid? UserIdentifier { get; set; }

Property Value

Guid?

UserRoles

public string[] UserRoles { get; set; }

Property Value

string[]

ValidationKey

public string ValidationKey { get; set; }

Property Value

string

Methods

IsActive()

public bool IsActive()

Returns

bool

IsExpired()

public bool IsExpired()

Returns

bool

ParseCreated()

public DateTimeOffset ParseCreated()

Returns

DateTimeOffset

TargetsEnvironment(string)

public bool TargetsEnvironment(string environment)

Parameters

environment string

Returns

bool