Class AccountClientImpl
java.lang.Object
co.yellowdog.platform.clients.account.AccountClientImpl
- All Implemented Interfaces:
AccountClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddApplication(AddApplicationRequest request) voidaddApplicationToGroup(String groupId, String applicationId) addGroup(AddGroupRequest request) voidaddRoleToGroup(String groupId, String roleId, RoleScope scope) voidaddUserToGroup(String groupId, String userId) static AccountClientImplcreate(@NonNull ServicesSchema servicesSchema, @NonNull RetryFactory retryFactory, @NonNull AuthenticationHeadersProvider authenticationHeadersProvider, @NonNull com.fasterxml.jackson.databind.ObjectMapper objectMapper, @NonNull UserAgent userAgent) voiddeleteApplication(String applicationId) voiddeleteGroup(String groupId) getApplication(String applicationId) getApplicationGroups(String applicationId) getApplications(ApplicationSearch search) getGroupApplications(String groupId) getGroupRoles(String groupId) getGroups(GroupSearch search) getGroupUsers(String groupId) getRoleGroups(String roleId) getRoles(RoleSearch search) getUserGroups(String userId) getUsers(UserSearch search) regenerateApplicationApiKey(String applicationId) voidremoveApplicationFromGroup(String groupId, String applicationId) voidremoveRoleFromGroup(String groupId, String roleId) voidremoveUserFromGroup(String groupId, String userId) updateApplication(String applicationId, UpdateApplicationRequest request) updateGroup(String groupId, UpdateGroupRequest request)
-
Constructor Details
-
AccountClientImpl
-
-
Method Details
-
create
public static AccountClientImpl create(@NonNull @NonNull ServicesSchema servicesSchema, @NonNull @NonNull RetryFactory retryFactory, @NonNull @NonNull AuthenticationHeadersProvider authenticationHeadersProvider, @NonNull @NonNull com.fasterxml.jackson.databind.ObjectMapper objectMapper, @NonNull @NonNull UserAgent userAgent) -
getUser
- Specified by:
getUserin interfaceAccountClient
-
getUsers
- Specified by:
getUsersin interfaceAccountClient
-
getUserGroups
- Specified by:
getUserGroupsin interfaceAccountClient
-
getApplication
- Specified by:
getApplicationin interfaceAccountClient
-
updateApplication
- Specified by:
updateApplicationin interfaceAccountClient
-
addApplication
- Specified by:
addApplicationin interfaceAccountClient
-
regenerateApplicationApiKey
- Specified by:
regenerateApplicationApiKeyin interfaceAccountClient
-
getApplications
- Specified by:
getApplicationsin interfaceAccountClient
-
getApplicationGroups
- Specified by:
getApplicationGroupsin interfaceAccountClient
-
deleteApplication
- Specified by:
deleteApplicationin interfaceAccountClient
-
listPermissions
- Specified by:
listPermissionsin interfaceAccountClient
-
getRole
- Specified by:
getRolein interfaceAccountClient
-
getRoles
- Specified by:
getRolesin interfaceAccountClient
-
getRoleGroups
- Specified by:
getRoleGroupsin interfaceAccountClient
-
getGroup
- Specified by:
getGroupin interfaceAccountClient
-
addGroup
- Specified by:
addGroupin interfaceAccountClient
-
updateGroup
- Specified by:
updateGroupin interfaceAccountClient
-
getGroupUsers
- Specified by:
getGroupUsersin interfaceAccountClient
-
getGroupApplications
- Specified by:
getGroupApplicationsin interfaceAccountClient
-
getGroupRoles
- Specified by:
getGroupRolesin interfaceAccountClient
-
getGroups
- Specified by:
getGroupsin interfaceAccountClient
-
addUserToGroup
- Specified by:
addUserToGroupin interfaceAccountClient
-
addApplicationToGroup
- Specified by:
addApplicationToGroupin interfaceAccountClient
-
addRoleToGroup
- Specified by:
addRoleToGroupin interfaceAccountClient
-
removeUserFromGroup
- Specified by:
removeUserFromGroupin interfaceAccountClient
-
removeApplicationFromGroup
- Specified by:
removeApplicationFromGroupin interfaceAccountClient
-
removeRoleFromGroup
- Specified by:
removeRoleFromGroupin interfaceAccountClient
-
deleteGroup
- Specified by:
deleteGroupin interfaceAccountClient
-