-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathCloudIdentity.cs
More file actions
47 lines (45 loc) · 1.97 KB
/
Copy pathCloudIdentity.cs
File metadata and controls
47 lines (45 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
namespace net.openstack.Core.Domain
{
/// <summary>
/// Represents a set of credentials used for accessing a cloud account. Individual providers
/// may impose restrictions on the values allowed for individual properties.
/// </summary>
/// <threadsafety static="true" instance="false"/>
public class CloudIdentity
{
/// <summary>
/// Gets or sets the username for this identity.
/// </summary>
/// <value>
/// The username for this identity. The value may be <see langword="null"/> if the particular
/// provider supports authenticating without a username.
/// </value>
public string Username { get; set; }
/// <summary>
/// Gets or sets the password for this identity.
/// </summary>
/// <remarks>
/// The <see cref="CloudIdentity"/> class represents <em>credentials</em> (as opposed
/// to an <em>account</em>), so any changes made to this property value will not be
/// reflected in the account.
/// </remarks>
/// <value>
/// A password to use when authenticating this identity, or <see langword="null"/> if authentication
/// should be performed by different method (e.g. with a <see cref="APIKey"/>).
/// </value>
public string Password { get; set; }
/// <summary>
/// Gets or sets the API key for this identity.
/// </summary>
/// <remarks>
/// The <see cref="CloudIdentity"/> class represents <em>credentials</em> (as opposed
/// to an <em>account</em>), so any changes made to this property value will not be
/// reflected in the account.
/// </remarks>
/// <value>
/// An API key to use when authenticating this identity, or <see langword="null"/> if authentication
/// should be performed by different method (e.g. with a <see cref="Password"/>).
/// </value>
public string APIKey { get; set; }
}
}