MCPcopy Create free account
hub / github.com/dfinity/orbit / user

Method user

core/station/impl/src/core/call_context.rs:69–71  ·  view source on GitHub ↗

return reference to user

(&self)

Source from the content-addressed store, hash-verified

67
68 // return reference to user
69 pub fn user(&self) -> Option<&User> {
70 self.user.as_ref()
71 }
72
73 pub fn caller_is_self(&self) -> bool {
74 self.caller == self_canister_id()

Callers 4

is_allowedMethod · 0.45
fromMethod · 0.45
cancel_requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected