Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ValueSetRequest"/> class.
 /// </summary>
 /// <param name="credentialName">Name of credential</param>
 /// <param name="value">Value of the credential to set</param>
 /// <param name="additionalPermissions">List of additional permissions to set on credential</param>
 /// <param name="overwriteMode">Overwrite existing credential (default: no-overwrite)</param>
 public ValueSetRequest(string credentialName, string value, List <CredentialPermission> additionalPermissions = null, OverwiteMode overwriteMode = OverwiteMode.noOverwrite)
 {
     Name  = credentialName;
     Type  = CredentialType.Value;
     Value = new ValueCredential(value);
     AdditionalPermissions = additionalPermissions;
     Mode = overwriteMode;
 }
Esempio n. 2
0
 public ValueSetRequest(string credentialName, string value, List <CredentialPermission> additionalPermissions = null, bool overwrite = false)
 {
     Name  = credentialName;
     Type  = CredentialType.Value;
     Value = new ValueCredential(value);
     AdditionalPermissions = additionalPermissions;
     Overwrite             = overwrite;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ValueSetRequest"/> class.
 /// </summary>
 /// <param name="credentialName">Name of credential</param>
 /// <param name="value">Value of the credential to set</param>
 public ValueSetRequest(string credentialName, string value)
 {
     Name  = credentialName;
     Type  = CredentialType.Value;
     Value = new ValueCredential(value);
 }