Package org.gcube.common.iam
Class D4ScienceIAMClientAuthn4Tokens
java.lang.Object
org.gcube.common.iam.AbstractIAMResponse
org.gcube.common.iam.D4ScienceIAMClientAuthn
org.gcube.common.iam.D4ScienceIAMClientAuthn4Tokens
- All Implemented Interfaces:
IAMResponse
D4Science IAM client authentication object built over tokens obtained elsewhere (e.g. by a login performed by
another component): gives the whole
IAMResponse API (claims, expiry, refresh, exchange, verification, logout)
without performing any request. Created by D4ScienceIAMClient.fromTokens(String, String, String).-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedD4ScienceIAMClientAuthn4Tokens(D4ScienceIAMClient iamClient, org.gcube.common.keycloak.model.TokenResponse tokenResponse) -
Method Summary
Methods inherited from class org.gcube.common.iam.D4ScienceIAMClientAuthn
authorize, authorizeMethods inherited from class org.gcube.common.iam.AbstractIAMResponse
canBeRefreshed, exchange, exchangeForRefreshToken, getAccessToken, getAccessTokenExpiryMillis, getAccessTokenString, getContactOrganization, getContactPerson, getContext, getContextRoles, getExpiresIn, getGlobalRoles, getIamClient, getIdTokenString, getName, getRefreshExpiresIn, getRefreshTokenExpiryMillis, getRefreshTokenString, getResourceRoles, getRoles, getTokenResponse, isAccessTokenValid, isAccessTokenValid, isExpired, isRefreshTokenValid, isRefreshTokenValid, logout, logout, refresh, refresh, setIamClient, setTokenResponse, verifyAccessToken, verifyAccessToken, verifyRefreshToken, verifyRefreshToken
-
Constructor Details
-
D4ScienceIAMClientAuthn4Tokens
protected D4ScienceIAMClientAuthn4Tokens(D4ScienceIAMClient iamClient, org.gcube.common.keycloak.model.TokenResponse tokenResponse)
-