Package com.bandwidth

Class VoiceBasicAuthManager

java.lang.Object
com.bandwidth.VoiceBasicAuthManager
All Implemented Interfaces:
AuthManager, VoiceBasicAuthCredentials

public class VoiceBasicAuthManager
extends java.lang.Object
implements AuthManager, VoiceBasicAuthCredentials
Utility class for authorization and token management
  • Constructor Summary

    Constructors 
    Constructor Description
    VoiceBasicAuthManager​(java.lang.String username, java.lang.String password)
    Constructor
  • Method Summary

    Modifier and Type Method Description
    HttpRequest apply​(HttpRequest httpRequest)
    Adds authentication to the given HttpRequest
    java.util.concurrent.CompletableFuture<HttpRequest> applyAsync​(HttpRequest httpRequest)
    Asynchronously adds authentication to the given HttpRequest
    java.lang.String getVoiceBasicAuthPassword()  
    java.lang.String getVoiceBasicAuthUserName()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait