Class OidcClient
- java.lang.Object
-
- org.sdase.commons.client.jersey.oidc.OidcClient
-
public class OidcClient extends java.lang.Object
Service that can retrieve a new access token.
-
-
Constructor Summary
Constructors Constructor Description OidcClient(ClientFactory clientFactory, OidcConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearCache()
Invalidate token in the cache.OidcResult
createAccessToken()
Retrieves a new access token from the token endpoint using the givenOidcConfiguration
.
-
-
-
Constructor Detail
-
OidcClient
public OidcClient(ClientFactory clientFactory, OidcConfiguration config)
-
-
Method Detail
-
createAccessToken
public OidcResult createAccessToken()
Retrieves a new access token from the token endpoint using the givenOidcConfiguration
.
-
clearCache
public void clearCache()
Invalidate token in the cache.
-
-