org.keycloak.authorization.client.util

## Class HttpMethodAuthenticator<R>

- java.lang.Object
- - org.keycloak.authorization.client.util.HttpMethodAuthenticator<R>

-     public class HttpMethodAuthenticator<R>
      extends Object

  Author:
    Pedro Igor

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HttpMethodAuthenticator(HttpMethod<R> method, ClientAuthenticator authenticator)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `HttpMethod<R>` | `client()`
    `HttpMethod<R>` | `oauth2ResourceOwnerPassword(String userName, String password)`
    `HttpMethod<R>` | `oauth2ResourceOwnerPassword(String userName, String password, String scope)`
    `HttpMethod<R>` | `uma()`
    `HttpMethod<R>` | `uma(AuthorizationRequest request)`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### HttpMethodAuthenticator

          public HttpMethodAuthenticator(HttpMethod<R> method,
                                         ClientAuthenticator authenticator)

  - ### Method Detail

    - #### client

          public HttpMethod<R> client()

    - #### oauth2ResourceOwnerPassword

          public HttpMethod<R> oauth2ResourceOwnerPassword(String userName,
                                                           String password)

    - #### oauth2ResourceOwnerPassword

          public HttpMethod<R> oauth2ResourceOwnerPassword(String userName,
                                                           String password,
                                                           String scope)

    - #### uma

          public HttpMethod<R> uma()

    - #### uma

          public HttpMethod<R> uma(AuthorizationRequest request)

Copyright © 2021 JBoss by Red Hat. All rights reserved.