Class OidcClient

java.lang.Object
org.sdase.commons.client.jersey.oidc.OidcClient

public class OidcClient extends Object
Service that can retrieve a new access token.
  • Constructor Details

  • Method Details

    • createAccessToken

      public OidcResult createAccessToken()
      Retrieves a new access token from the token endpoint using the given OidcConfiguration.
      Returns:
      OidcResult with the state and the token (if authorized)
    • clearCache

      public void clearCache()
      Invalidate token in the cache.