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

Method from

crates/client-api/src/auth.rs:108–113  ·  view source on GitHub ↗
(auth: SpacetimeAuth)

Source from the content-addressed store, hash-verified

106
107impl From<SpacetimeAuth> for ConnectionAuthCtx {
108 fn from(auth: SpacetimeAuth) -> Self {
109 ConnectionAuthCtx {
110 claims: auth.claims,
111 jwt_payload: auth.jwt_payload.clone(),
112 }
113 }
114}
115
116use jsonwebtoken;

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected