Package com.bandwidth

Class MessagingBasicAuthManager

java.lang.Object
com.bandwidth.MessagingBasicAuthManager
All Implemented Interfaces:
AuthManager, MessagingBasicAuthCredentials

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

    Constructors 
    Constructor Description
    MessagingBasicAuthManager​(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 getMessagingBasicAuthPassword()  
    java.lang.String getMessagingBasicAuthUserName()  

    Methods inherited from class java.lang.Object

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