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

Method id

crates/client-api/src/auth.rs:147–149  ·  view source on GitHub ↗

Compute the id from the issuer and subject.

(&self)

Source from the content-addressed store, hash-verified

145
146 // Compute the id from the issuer and subject.
147 pub fn id(&self) -> Identity {
148 Identity::from_claims(&self.issuer, &self.subject)
149 }
150
151 /// Encode the claims into a JWT token and sign it with the provided signer.
152 /// This also adds claims for expiry and issued at time.

Callers 15

add_playerFunction · 0.45
delete_playerFunction · 0.45
roundtripFunction · 0.45
test_index_scan_on_idFunction · 0.45
update_leftFunction · 0.45
update_view_pk_playerFunction · 0.45
cross_join_circle_foodFunction · 0.45
agent_loopFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_index_scan_on_idFunction · 0.36