Class OidcAuth

    • Method Detail

      • apply

        public void apply​(Map<String,​String> requestHeaders)
        Description copied from interface: Auth
        Called to apply this auth mechanism to the HTTP request headers. Typically an implementation would add an "Authorization" header or something similar.
        Specified by:
        apply in interface Auth
        See Also:
        Auth.apply(java.util.Map)
      • authenticate

        public String authenticate()
      • obtainAccessTokenPasswordGrant

        public String obtainAccessTokenPasswordGrant​(String username,
                                                     String password)