Package uniffi.cedarling_uniffi
Interface CedarlingInterface
-
- All Implemented Interfaces:
public interface CedarlingInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
CedarlingInterface.Companion
-
Method Summary
Modifier and Type Method Description abstract AuthorizeResult
authorize(Map<String, String> tokens, String action, EntityData resource, String context)
abstract AuthorizeResult
authorizeUnsigned(List<EntityData> principals, String action, EntityData resource, String context)
abstract String
getLogById(String id)
abstract List<String>
getLogIds()
abstract List<String>
getLogsByRequestId(String requestId)
Get logs by request_id. abstract List<String>
getLogsByRequestIdAndTag(String requestId, String tag)
Get log by request_id and tag, like composite key request_id
+log_kind
.abstract List<String>
getLogsByTag(String tag)
Get logs by tag, like log_kind
orlog level
.abstract List<String>
popLogs()
abstract Unit
shutDown()
Closes the connections to the Lock Server and pushes all available logs. -
-
Method Detail
-
authorize
abstract AuthorizeResult authorize(Map<String, String> tokens, String action, EntityData resource, String context)
-
authorizeUnsigned
abstract AuthorizeResult authorizeUnsigned(List<EntityData> principals, String action, EntityData resource, String context)
-
getLogById
abstract String getLogById(String id)
-
getLogsByRequestId
abstract List<String> getLogsByRequestId(String requestId)
Get logs by request_id. Return log entries that match the given request_id.
-
getLogsByRequestIdAndTag
abstract List<String> getLogsByRequestIdAndTag(String requestId, String tag)
Get log by request_id and tag, like composite key
request_id
+log_kind
. Tag can belog_kind
,log_level
. Return log entries that match the given request_id and tag.
-
getLogsByTag
abstract List<String> getLogsByTag(String tag)
Get logs by tag, like
log_kind
orlog level
. Tag can belog_kind
,log_level
.
-
-
-
-