Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/orbit
/ caller_is_self
Method
caller_is_self
core/station/impl/src/core/call_context.rs:73–75 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
71
}
72
73
pub fn caller_is_self(&self) -> bool {
74
self.caller == self_canister_id()
75
}
76
77
pub fn caller_is_controller_or_self(&self) -> bool {
78
self.caller == self_canister_id() || is_controller(&self.caller)
Callers
1
try_execute_request
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected