Class AuthenticationHeader
Marshalls user authentication information
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.Glue.Protocol
Assembly: Azos.dll
Syntax
[Serializable]
public sealed class AuthenticationHeader : Header
Constructors
AuthenticationHeader(AuthenticationToken)
Declaration
public AuthenticationHeader(AuthenticationToken token)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationToken | token |
AuthenticationHeader(Credentials)
Inits header with Credentials instance. Note: passing IDPasswordCredentials over public wire is not a good practice, pass AuthenticationToken instead
Declaration
public AuthenticationHeader(Credentials credentials)
Parameters
Type | Name | Description |
---|---|---|
Credentials | credentials |
Properties
Credentials
Returns Credentials
Declaration
public Credentials Credentials { get; }
Property Value
Type | Description |
---|---|
Credentials |
Token
Returns AuthenticationToken
Declaration
public AuthenticationToken Token { get; }
Property Value
Type | Description |
---|---|
AuthenticationToken |