Interface ICredentials

Immutable value containing the proof material to support an authentication request.

The server passes the credentials through to the configured authentication handlers for interpretation.

Credentials can be created using an ICredentialsFactory, an instance of which can be obtained as follows:

var factory = Diffusion.Credentials;

Namespace: PushTechnology.DiffusionCore.Client.Types
Assembly: Diffusion.Client.dll
Syntax
public interface ICredentials

Properties

Type

Return the type of credentials.

Declaration
CredentialsType Type { get; }
Property Value
Type Description
CredentialsType

Methods

ToBytes()

Return the credential data as a byte array.

Declaration
byte[] ToBytes()
Returns
Type Description
Byte[]

The data.

Back to top