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
NetworkCredentialThe credentials.
Authentication(string)
Creates an authentication from a key.
public Authentication(string apiKey)
Parameters
apiKey
stringThe key.
Properties
ApiKey
The API Key to use for authentication.
public string ApiKey { get; }
Property Value
AuthenticationType
The type of authentication.
public AuthenticationType AuthenticationType { get; }
Property Value
Credentials
The network credential user and password.
public NetworkCredential Credentials { get; }