Uses of Class
org.gcube.common.iam.D4ScienceIAMClientAuthn
-
Uses of D4ScienceIAMClientAuthn in org.gcube.common.iam
Subclasses of D4ScienceIAMClientAuthn in org.gcube.common.iamModifier and TypeClassDescriptionclassD4Science IAM client authentication implementation for client credentials flow.classD4Science IAM client authentication implementation for the authorization code flow: the tokens are obtained by exchanging the code the browser brought back on the redirect URI.classD4Science IAM client authentication object built over tokens obtained elsewhere (e.g. by a login performed by another component): gives the wholeIAMResponseAPI (claims, expiry, refresh, exchange, verification, logout) without performing any request.classD4Science IAM client authentication implementation for user credentials.classOIDC Bearer authentication implementation for handling bearer tokens.Methods in org.gcube.common.iam that return D4ScienceIAMClientAuthnModifier and TypeMethodDescriptionD4ScienceIAMClient.authenticate(String clientId, String clientSecret) Authenticates the client with provided id and secretD4ScienceIAMClient.authenticate(String clientId, String clientSecret, String context) Authenticates the client with provided credentials, reducing the token audience to the requested `context`D4ScienceIAMClient.authenticateUser(String username, String password) Deprecated.this authn method is deprecated in the oauth2 specifications (see https://oauth.net/2/grant-types/password/)D4ScienceIAMClient.authenticateUser(String username, String password, String context) Deprecated.this authn method is deprecated in the oauth2 specifications (see https://oauth.net/2/grant-types/password/)D4ScienceIAMClient.authenticateUser(String clientId, String clientSecret, String username, String password) Deprecated.this authn method is deprecated in the oauth2 specifications (see https://oauth.net/2/grant-types/password/)D4ScienceIAMClient.authenticateUser(String clientId, String clientSecret, String username, String password, String context) Deprecated.this authn method is deprecated in the oauth2 specifications (see https://oauth.net/2/grant-types/password/)D4ScienceIAMClient.authenticateWithCode(String clientId, String clientSecret, String code, String redirectUri, String codeVerifier) Authenticates with the code received on the redirect URI of the authorization code flow.D4ScienceIAMClient.fromTokens(String accessToken, String refreshToken, String idToken) Wraps tokens this component obtained elsewhere (e.g. by a login performed by another component) into theIAMResponseAPI: claims, expiry, refresh, exchange, verification and logout, with no request performed.Constructors in org.gcube.common.iam with parameters of type D4ScienceIAMClientAuthnModifierConstructorDescriptionprotectedD4ScienceIAMClientAuthz(D4ScienceIAMClientAuthn authn, String context, List<String> permissions) Creates a new authorization instance using an existing authentication.