private UserAuthenticator(AssemblaAuthenticatorOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } _options = options; }
public static AssemblaAuthenticator FromUserKeys(string apiKey, string secretKey) { var authenticatorOptions = new AssemblaAuthenticatorOptions { ApiKey = apiKey, ApiSecretKey = secretKey }; return(new UserAuthenticator(authenticatorOptions)); }