com.bandwidth.MultiFactorAuthClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bandwidth-sdk Show documentation
Show all versions of bandwidth-sdk Show documentation
The official client SDK for Bandwidth's Voice, Messaging, MFA, and WebRTC APIs
/*
* BandwidthLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
package com.bandwidth;
import com.bandwidth.http.client.HttpCallback;
import com.bandwidth.http.client.OkClient;
import com.bandwidth.multifactorauth.controllers.*;
public final class MultiFactorAuthClient {
private final BandwidthClient config;
/**
* Private store for controllers.
*/
private MFAController mFA;
/**
* Default constructor.
*/
public MultiFactorAuthClient(BandwidthClient config, HttpCallback httpCallback) {
this.config = config;
mFA = new MFAController(config, config.getHttpClient(), config.getAuthManagers(),
httpCallback);
}
public static void shutdown() {
OkClient.shutdown();
}
public MFAController getMFAController() {
return mFA;
}
public Configuration getConfiguration() {
return config;
}
}