Class MsalClientAdapter

    • Constructor Detail

      • MsalClientAdapter

        public MsalClientAdapter()
    • Method Detail

      • send

        public com.microsoft.aad.msal4j.IHttpResponse send​(com.microsoft.aad.msal4j.HttpRequest httpRequest)
                                                    throws Exception
        Specified by:
        send in interface com.microsoft.aad.msal4j.IHttpClient
        Throws:
        Exception
      • getMethod

        protected org.apache.http.client.methods.HttpRequestBase getMethod​(URI uri,
                                                                           Message message,
                                                                           ParameterValueList parameters,
                                                                           PipeLineSession session)
                                                                    throws SenderException
        Description copied from class: HttpSenderBase
        Custom implementation to create a HttpRequest object.
        Specified by:
        getMethod in class HttpSenderBase
        Parameters:
        uri - endpoint to send the message to
        message - to be sent
        parameters - ParameterValueList that contains all the senders parameters
        session - PipeLineSession to retrieve or store data from, or NULL when not set
        Returns:
        a HttpRequest object
        Throws:
        SenderException