Package dev.warrant
Class WarrantBaseClient
java.lang.Object
dev.warrant.WarrantBaseClient
- Direct Known Subclasses:
WarrantClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck(WarrantObject object, String relation, WarrantSubject subject) createUserAuthzSession(String userId) createUserSelfServiceDashboardUrl(String userId, String tenantId, String selfServiceStrategy, String redirectUrl) createWarrant(WarrantObject object, String relation, WarrantSubject subject) voiddeleteWarrant(WarrantObject object, String relation, WarrantSubject subject) Warrant[]queryWarrants(Query query, int limit, int page)
-
Field Details
-
SDK_VERSION
- See Also:
-
USER_AGENT
- See Also:
-
-
Constructor Details
-
WarrantBaseClient
-
-
Method Details
-
createWarrant
public Warrant createWarrant(WarrantObject object, String relation, WarrantSubject subject) throws WarrantException - Throws:
WarrantException
-
deleteWarrant
public void deleteWarrant(WarrantObject object, String relation, WarrantSubject subject) throws WarrantException - Throws:
WarrantException
-
queryWarrants
- Throws:
WarrantException
-
check
public boolean check(WarrantObject object, String relation, WarrantSubject subject) throws WarrantException - Throws:
WarrantException
-
createUserAuthzSession
- Throws:
WarrantException
-
createUserSelfServiceDashboardUrl
public String createUserSelfServiceDashboardUrl(String userId, String tenantId, String selfServiceStrategy, String redirectUrl) throws WarrantException - Throws:
WarrantException
-