Buckets:

download
raw
4.07 kB
{
"interaction_sequence": {
"available": true,
"language": "java",
"repo": "codeheadsystems_pk-auth",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Limiter",
"from": "Enforcer",
"to": "Limiter",
"file": "pk-auth-core/src/main/java/com/codeheadsystems/pkauth/ceremony/InMemoryCeremonyRateLimiter.java",
"line": 127,
"via": [
"com.codeheadsystems.pkauth.internal.DefaultPasskeyAuthenticationService.rateLimitedBucket:java.lang.String(java.lang.String,java.lang.String,java.lang.String)",
"com.codeheadsystems.pkauth.ceremony.InMemoryCeremonyRateLimiter.tryAcquireForIp:boolean(java.lang.String)"
],
"mechanism": "call",
"path": [
{
"caller": "com.codeheadsystems.pkauth.internal.DefaultPasskeyAuthenticationService.startAuthentication:com.codeheadsystems.pkauth.api.StartAuthenticationResult(com.codeheadsystems.pkauth.api.StartAuthenticationRequest,java.lang.String)",
"file": "pk-auth-core/src/main/java/com/codeheadsystems/pkauth/internal/DefaultPasskeyAuthenticationService.java",
"line": 501,
"code": "rateLimitedBucket(\"authentication.start\", clientIp, req.username())",
"callee": "com.codeheadsystems.pkauth.internal.DefaultPasskeyAuthenticationService.rateLimitedBucket:java.lang.String(java.lang.String,java.lang.String,java.lang.String)",
"mechanism": "call"
},
{
"caller": "com.codeheadsystems.pkauth.internal.DefaultPasskeyAuthenticationService.rateLimitedBucket:java.lang.String(java.lang.String,java.lang.String,java.lang.String)",
"file": "pk-auth-core/src/main/java/com/codeheadsystems/pkauth/internal/DefaultPasskeyAuthenticationService.java",
"line": 915,
"code": "this.rateLimiter.tryAcquireForIp(clientIp)",
"callee": "com.codeheadsystems.pkauth.ceremony.InMemoryCeremonyRateLimiter.tryAcquireForIp:boolean(java.lang.String)",
"mechanism": "call"
},
{
"caller": "com.codeheadsystems.pkauth.ceremony.InMemoryCeremonyRateLimiter.tryAcquireForIp:boolean(java.lang.String)",
"file": "pk-auth-core/src/main/java/com/codeheadsystems/pkauth/ceremony/InMemoryCeremonyRateLimiter.java",
"line": 127,
"code": "acquire(ipCounters, ip, perIpLimit)",
"callee": "com.codeheadsystems.pkauth.ceremony.InMemoryCeremonyRateLimiter.acquire:boolean(com.github.benmanes.caffeine.cache.Cache,java.lang.String,int)",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Limiter → HistoryProvider",
"from": "Limiter",
"to": "HistoryProvider",
"file": "pk-auth-core/src/main/java/com/codeheadsystems/pkauth/ceremony/InMemoryCeremonyRateLimiter.java",
"line": 137,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "com.codeheadsystems.pkauth.ceremony.InMemoryCeremonyRateLimiter.acquire:boolean(com.github.benmanes.caffeine.cache.Cache,java.lang.String,int)",
"file": "pk-auth-core/src/main/java/com/codeheadsystems/pkauth/ceremony/InMemoryCeremonyRateLimiter.java",
"line": 137,
"code": "get(key, <lambda>)",
"callee": "com.github.benmanes.caffeine.cache.Cache.get:<unresolvedSignature>(2)",
"mechanism": "call"
}
],
"parent": "Enforcer → Limiter"
}
],
"anchoredRoles": [
{
"role": "Enforcer",
"kind": "METHOD"
},
{
"role": "HistoryProvider",
"kind": "external"
},
{
"role": "Limiter",
"kind": "METHOD"
},
{
"role": "PolicyProvider",
"kind": "MEMBER"
}
],
"skippedRoles": [
"Entity",
"System"
]
}
}

Xet Storage Details

Size:
4.07 kB
·
Xet hash:
01b2e2e559741f4dca594d2b012dac27b8cf54a1ef8afd869ef3905055a2d191

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.