Package de.xima.fc.api.entity
Class IndirectClientAuthorizationAPI
java.lang.Object
de.xima.fc.api.ASubAPI
de.xima.fc.api.entity.AEntityAPI<IndirectClientAuthorization>
de.xima.fc.api.entity.IndirectClientAuthorizationAPI
API class for reading and writing
UserProfile
entities.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
Field Summary
FieldsFields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllByIds
(UserContext uc, Set<Long> ids) Retrieves all indirect client authorizations with one of the given IDs.getByAuthenticator
(UserContext uc, IAuthenticator<?> auth) Retrieves all indirect client authorizations that use the given authenticator.getByUserProfile
(UserContext uc, org.pac4j.core.profile.UserProfile userProfile) Returns all indirect client authorizations which match the profile based on the configured filter.Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Field Details
-
USER_CTX_ATTR_INITIALIZE
- See Also:
-
-
Constructor Details
-
IndirectClientAuthorizationAPI
public IndirectClientAuthorizationAPI()
-
-
Method Details
-
getAllByIds
Retrieves all indirect client authorizations with one of the given IDs.- Parameters:
uc
- User context for database transactions.ids
- of the entities.- Returns:
- A set of indirect client authorizations that have one of the given IDs.
- Since:
- 8.0.4
-
getByAuthenticator
Retrieves all indirect client authorizations that use the given authenticator.- Parameters:
uc
- User context for database transactions.auth
- The authenticator that is used by the indirect client authorization.- Returns:
- A list of all indirect client authorizations that use the authenticator.
-
getByUserProfile
public List<IndirectClientAuthorization> getByUserProfile(UserContext uc, org.pac4j.core.profile.UserProfile userProfile) Returns all indirect client authorizations which match the profile based on the configured filter.- Parameters:
uc
- user context for database transactionsuserProfile
- to check for- Returns:
- a list of indirect client authorizations which match the profile based on the configured filter.
-