Class OidcClient
java.lang.Object
org.sdase.commons.client.jersey.oidc.OidcClient
Service that can retrieve a new access token.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invalidate token in the cache.Retrieves a new access token from the token endpoint using the givenOidcConfiguration
.
-
Constructor Details
-
OidcClient
-
-
Method Details
-
createAccessToken
Retrieves a new access token from the token endpoint using the givenOidcConfiguration
.- Returns:
- OidcResult with the state and the token (if authorized)
-
clearCache
public void clearCache()Invalidate token in the cache.
-