public AuthService WithSecret(string keyName, string keyValue)
 {
     if (keyName != null)
     {
         Secret = new AuthKey {
             Name = keyName, Value = keyValue, Title = GetResourceString(Name + "Secret") ?? keyName
         }
     }
     ;
     return(this);
 }
Beispiel #2
0
 public AuthService WithKey(string keyName, string keyValue)
 {
     if (keyName != null)
     {
         Key = new AuthKey(keyName, keyValue)
         {
             Title = GetResourceString(Name + "Secret") ?? keyName
         }
     }
     ;
     return(this);
 }
 public AuthService WithKey(string keyName, string keyValue)
 {
     if (keyName != null)
         Key = new AuthKey(keyName, keyValue) {Title = GetResourceString(Name + "Secret") ?? keyName};
     return this;
 }