Struct AuthenticationToken
Represents security provider-internal ID that SecurityManager assigns into User object on authentication. These tokens can be used in place of Credentials to re-authenticate users or to requery user rights. External parties should never be supplied with this struct as it is backend-internal
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NFX.Security
Assembly: NFX.dll
Syntax
[Serializable]
public struct AuthenticationToken
Constructors
AuthenticationToken(String, Object)
Declaration
public AuthenticationToken(string realm, object data)
Parameters
Type | Name | Description |
---|---|---|
System.String | realm | |
System.Object | data |
Properties
Data
Provides provider-specific key/id that uniquely identifies the user in the realm
Declaration
public object Data { get; }
Property Value
Type | Description |
---|---|
System.Object |
Realm
Provides information about back-end security source (realm) that perfomed authentication, i.e. LDAP instance, Database name etc...
Declaration
public string Realm { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.ValueType.ToString()