Class UserToken
Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime.dll
public class UserToken
Inheritance
Inherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Extension Methods
ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<UserToken>(UserToken)
Constructors
UserToken(string)
public UserToken(string decipherText)
Parameters
decipherText
string
Fields
ANONYMOUS_TYPE
public const string ANONYMOUS_TYPE = "Anonymous"
Field Value
AUTHORIZED_TYPE
public const string AUTHORIZED_TYPE = "Authorized"
Field Value
DELIMETER
public const char DELIMETER = '#'
Field Value
USER_TOKEN_FORMAT
public const string USER_TOKEN_FORMAT = "{0}#{1}#{2}#{3}"
Field Value
Properties
IsAuthorized
public bool IsAuthorized { get; }
Property Value
Salt
public string Salt { get; }
Property Value
UserSessionId
public Guid UserSessionId { get; }
Property Value
WorkerSiteId
public Guid WorkerSiteId { get; }
Property Value
Methods
IsValid()
public bool IsValid()