Class Credentials
User credentials base class. A credentials may be as simple as user+password, access card codes, door key, Twitter account token etc...
Inheritance
System.Object
Credentials
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Security
Assembly: Azos.dll
Syntax
[Serializable]
public abstract class Credentials
Properties
Forgotten
Indicates whether Forget() was called on this instance
Declaration
public bool Forgotten { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Forget()
Deletes sensitive information (such as password). This method is mostly used on client (vs. server) to prevent process memory-inspection attack. Its is usually called right after Login() was called. Implementers may consider forcing post-factum GC.Collect() on all generations to make sure that orphaned memory buff with sensitive information, that remains in RAM even after all references are killed, gets compacted; consequently, this method may take considerable time to execute.
Declaration
public virtual void Forget()