Interface ICredentialsFactory
The interface for the factory of the standard credential types.
Namespace: PushTechnology.DiffusionCore.Client.Types
Assembly: Diffusion.Client.dll
Syntax
public interface ICredentialsFactory
Methods
Custom(Byte[])
Creates a credentials object of type CUSTOM.
Declaration
ICredentials Custom(byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | bytes | The raw bytes. |
Returns
| Type | Description |
|---|---|
| ICredentials | The credentials. |
NoCredentials()
Creates a credentials object of type NONE.
Declaration
ICredentials NoCredentials()
Returns
| Type | Description |
|---|---|
| ICredentials | The credentials. |
Password(String)
Creates a credentials object of type PLAIN_PASSWORD.
Declaration
ICredentials Password(string password)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | password | The password. |
Returns
| Type | Description |
|---|---|
| ICredentials | The credentials. |