Interface Authenticator

    • Method Detail

      • validate

        void validate()
        Validates the current set of configuration information in the Authenticator.
      • authenticationType

        java.lang.String authenticationType()
        Returns the authentication type associated with the Authenticator instance.
        Returns:
        a string representing the authentication type (e.g. "iam", "basic", "icp4d", etc.)
      • authenticate

        void authenticate​(okhttp3.Request.Builder requestBuilder)
        Perform the necessary authentication steps for the specified request.
        Parameters:
        requestBuilder - the Request.Builder instance to authenticate