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

Method token

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

The JWT token representing these credentials.

(&self)

Source from the content-addressed store, hash-verified

36impl SpacetimeCreds {
37 /// The JWT token representing these credentials.
38 pub fn token(&self) -> &str {
39 &self.token
40 }
41
42 pub fn from_signed_token(token: String) -> Self {
43 Self { token }

Callers 5

to_header_valueMethod · 0.80
from_request_partsMethod · 0.80
encodeMethod · 0.80
create_identityFunction · 0.80
handle_websocketFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected