Table of Contents

Class Authentication

Namespace
nanoFramework.WebServer
Assembly
nanoFramework.WebServer.dll

The authentication to be used by the server.

public class Authentication
Inheritance
Authentication
Inherited Members
Extension Methods

Constructors

Authentication()

Creates an empty authenticate.

public Authentication()

Authentication(NetworkCredential)

Creates an autentication class from a credential.

public Authentication(NetworkCredential credential)

Parameters

credential NetworkCredential

The credentials.

Authentication(string)

Creates an authentication from a key.

public Authentication(string apiKey)

Parameters

apiKey string

The key.

Properties

ApiKey

The API Key to use for authentication.

public string ApiKey { get; }

Property Value

string

AuthenticationType

The type of authentication.

public AuthenticationType AuthenticationType { get; }

Property Value

AuthenticationType

Credentials

The network credential user and password.

public NetworkCredential Credentials { get; }

Property Value

NetworkCredential