C# Class MCloud.NodeAuth

An authorization mechanism for connecting to a node. These can be userid/password pairs, or userid and keyfile. The default user name is "root".
Mostra file Open project: jacksonh/MCloud Class Usage Examples

Public Properties

Property Type Description
DefaultUserName string

Public Methods

Method Description
NodeAuth ( NodeAuthType type, string secret ) : System

Create a new NodeAuth using the default username "root".

NodeAuth ( NodeAuthType type, string username, string secret ) : System

Create a new NodeAuth

Method Details

NodeAuth() public method

Create a new NodeAuth using the default username "root".
public NodeAuth ( NodeAuthType type, string secret ) : System
type NodeAuthType
secret string
return System

NodeAuth() public method

Create a new NodeAuth
public NodeAuth ( NodeAuthType type, string username, string secret ) : System
type NodeAuthType
username string
secret string
return System

Property Details

DefaultUserName public_oe static_oe property

public static string DefaultUserName
return string