org.keycloak.admin.client

## Class Keycloak

- java.lang.Object
- - org.keycloak.admin.client.Keycloak

-     public class Keycloak
      extends Object

  Author:
    rodrigo.sasaki@icarros.com.br

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `static Keycloak` | `getInstance(String serverUrl, String realm, String username, String password, String clientId)`
    `static Keycloak` | `getInstance(String serverUrl, String realm, String username, String password, String clientId, String clientSecret)`
    `RealmResource` | `realm(String realmName)`
    `RealmsResource` | `realms()`
    `TokenManager` | `tokenManager()`

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

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

- - ### Method Detail

    - #### getInstance

          public static Keycloak getInstance(String serverUrl,
                             String realm,
                             String username,
                             String password,
                             String clientId,
                             String clientSecret)

    - #### getInstance

          public static Keycloak getInstance(String serverUrl,
                             String realm,
                             String username,
                             String password,
                             String clientId)

    - #### realms

          public RealmsResource realms()

    - #### realm

          public RealmResource realm(String realmName)

    - #### tokenManager

          public TokenManager tokenManager()

    - #### close

          public void close()

Copyright © 2015. All Rights Reserved.