Table of Contents

Interface ICredentials

Namespace
PushTechnology.DiffusionCore.Client.Types
Assembly
Diffusion.Client.dll

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;
public interface ICredentials

Properties

Type

Returns the type of credentials.

CredentialsType Type { get; }

Property Value

CredentialsType

The type of credentials.

Methods

ToBytes()

Returns the credential data as a byte array.

byte[] ToBytes()

Returns

byte[]

The data.