MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / get_jwt_payload

Method get_jwt_payload

crates/core/src/host/instance_env.rs:284–287  ·  view source on GitHub ↗
(&self, connection_id: ConnectionId)

Source from the content-addressed store, hash-verified

282 }
283
284 pub(crate) fn get_jwt_payload(&self, connection_id: ConnectionId) -> Result<Option<String>, NodesError> {
285 let tx = &mut *self.get_tx()?;
286 Ok(tx.get_jwt_payload(connection_id).map_err(DBError::from)?)
287 }
288
289 #[tracing::instrument(level = "trace", skip_all)]
290 pub(crate) fn console_log(&self, level: LogLevel, record: &Record, bt: &dyn BacktraceProvider) {

Callers 4

get_jwtMethod · 0.45
get_jwt_payloadFunction · 0.45
fromSystemTablesMethod · 0.45

Calls 2

get_txMethod · 0.80
OkFunction · 0.50

Tested by

no test coverage detected