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 re-query user rights (e.g. upon re/authorization). External parties should never be supplied with this struct as it is system backend internal token used inside the system
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: Azos.Security
Assembly: Azos.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
Assigned
Returns true when the structure contains data
Declaration
public bool Assigned { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 performed 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()