Class IdentityApi
java.lang.Object
org.camunda.community.rest.client.api.IdentityApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class IdentityApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckPassword(PasswordPolicyRequestDto passwordPolicyRequestDto) Validate Password A password policy consists of a list of rules that new passwords must follow to be policy compliant.checkPassword(PasswordPolicyRequestDto passwordPolicyRequestDto, Map<String, String> additionalHeaders) Validate Password A password policy consists of a list of rules that new passwords must follow to be policy compliant.getGroupInfo(String userId) Get a User's Groups Gets the groups of a user by id and includes all users that share a group with the given user.getGroupInfo(String userId, Map<String, String> additionalHeaders) Get a User's Groups Gets the groups of a user by id and includes all users that share a group with the given user.Get Password Policy A password policy consists of a list of rules that new passwords must follow to be policy compliant.getPasswordPolicy(Map<String, String> additionalHeaders) Get Password Policy A password policy consists of a list of rules that new passwords must follow to be policy compliant.voidsetApiClient(ApiClient apiClient) verifyUser(BasicUserCredentialsDto basicUserCredentialsDto) Verify User Verifies that user credentials are valid.verifyUser(BasicUserCredentialsDto basicUserCredentialsDto, Map<String, String> additionalHeaders) Verify User Verifies that user credentials are valid.
-
Constructor Details
-
IdentityApi
public IdentityApi() -
IdentityApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
checkPassword
public CheckPasswordPolicyResultDto checkPassword(PasswordPolicyRequestDto passwordPolicyRequestDto) throws ApiException Validate Password A password policy consists of a list of rules that new passwords must follow to be policy compliant. A password can be checked for compliancy via this end point. More information on password policies in Camunda can be found in the password policy [user guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/password-policy/) and in the [security instructions](https://docs.camunda.org/manual/7.21/user-guide/security/).- Parameters:
passwordPolicyRequestDto- (optional)- Returns:
- CheckPasswordPolicyResultDto
- Throws:
ApiException- if fails to make API call
-
checkPassword
public CheckPasswordPolicyResultDto checkPassword(PasswordPolicyRequestDto passwordPolicyRequestDto, Map<String, String> additionalHeaders) throws ApiExceptionValidate Password A password policy consists of a list of rules that new passwords must follow to be policy compliant. A password can be checked for compliancy via this end point. More information on password policies in Camunda can be found in the password policy [user guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/password-policy/) and in the [security instructions](https://docs.camunda.org/manual/7.21/user-guide/security/).- Parameters:
passwordPolicyRequestDto- (optional)additionalHeaders- additionalHeaders for this call- Returns:
- CheckPasswordPolicyResultDto
- Throws:
ApiException- if fails to make API call
-
getGroupInfo
Get a User's Groups Gets the groups of a user by id and includes all users that share a group with the given user.- Parameters:
userId- The id of the user to get the groups for. (required)- Returns:
- IdentityServiceGroupInfoDto
- Throws:
ApiException- if fails to make API call
-
getGroupInfo
public IdentityServiceGroupInfoDto getGroupInfo(String userId, Map<String, String> additionalHeaders) throws ApiExceptionGet a User's Groups Gets the groups of a user by id and includes all users that share a group with the given user.- Parameters:
userId- The id of the user to get the groups for. (required)additionalHeaders- additionalHeaders for this call- Returns:
- IdentityServiceGroupInfoDto
- Throws:
ApiException- if fails to make API call
-
getPasswordPolicy
Get Password Policy A password policy consists of a list of rules that new passwords must follow to be policy compliant. This end point returns a JSON representation of the list of policy rules. More information on password policies in Camunda can be found in the password policy [user guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/password-policy/) and in the [security instructions](https://docs.camunda.org/manual/7.21/user-guide/security/).- Returns:
- PasswordPolicyDto
- Throws:
ApiException- if fails to make API call
-
getPasswordPolicy
public PasswordPolicyDto getPasswordPolicy(Map<String, String> additionalHeaders) throws ApiExceptionGet Password Policy A password policy consists of a list of rules that new passwords must follow to be policy compliant. This end point returns a JSON representation of the list of policy rules. More information on password policies in Camunda can be found in the password policy [user guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/password-policy/) and in the [security instructions](https://docs.camunda.org/manual/7.21/user-guide/security/).- Parameters:
additionalHeaders- additionalHeaders for this call- Returns:
- PasswordPolicyDto
- Throws:
ApiException- if fails to make API call
-
verifyUser
public AuthenticationResult verifyUser(BasicUserCredentialsDto basicUserCredentialsDto) throws ApiException Verify User Verifies that user credentials are valid.- Parameters:
basicUserCredentialsDto- (optional)- Returns:
- AuthenticationResult
- Throws:
ApiException- if fails to make API call
-
verifyUser
public AuthenticationResult verifyUser(BasicUserCredentialsDto basicUserCredentialsDto, Map<String, String> additionalHeaders) throws ApiExceptionVerify User Verifies that user credentials are valid.- Parameters:
basicUserCredentialsDto- (optional)additionalHeaders- additionalHeaders for this call- Returns:
- AuthenticationResult
- Throws:
ApiException- if fails to make API call
-