public async Task <string> RequestNewSandboxApiKey() { var client = new BunqHttpClient(UserStore); var sandboxClient = client.SandboxUser(); var apiKey = await sandboxClient.GetNewApiKey(); return(apiKey.Value); }
public BunqContext(User userStore) { UserStore = userStore; Client = new BunqHttpClient(UserStore); }
internal ApiContext(User userStore, BunqHttpClient client) { UserStore = userStore; Client = client; }