public BackBlazeB2Config(IAccessKey credentials, BackBlazeB2Region region) : this() { Credentials = credentials; Region = region; }
/// <summary>Creates a new instance of <see cref="BackBlazeB2Client" /></summary> /// <param name="credentials">The credentials to use</param> /// <param name="region">The region you wish to use</param> /// <param name="proxy">A web proxy (optional)</param> public BackBlazeB2Client(IAccessKey credentials, BackBlazeB2Region region, IWebProxy?proxy = null) : this(new BackBlazeB2Config(credentials, region), proxy) { }
public BackBlazeB2Config(string keyId, string secretKey, BackBlazeB2Region region) : this(new StringAccessKey(keyId, secretKey), region) { }
/// <summary>Creates a new instance of <see cref="BackBlazeB2Client" /></summary> /// <param name="keyId">The key id</param> /// <param name="accessKey">The secret access key</param> /// <param name="region">The region you wish to use</param> /// <param name="proxy">A web proxy (optional)</param> public BackBlazeB2Client(string keyId, string accessKey, BackBlazeB2Region region, IWebProxy?proxy = null) : this(new BackBlazeB2Config(new StringAccessKey(keyId, accessKey), region), proxy) { }