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

Method get

crates/client-api/src/auth.rs:460–462  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

458
459impl SpacetimeAuthHeader {
460 pub fn get(self) -> Option<SpacetimeAuth> {
461 self.auth
462 }
463
464 /// Given an authorization header we will try to get the identity and token from the auth header (as JWT).
465 /// If there is no JWT in the auth header we will create a new identity and token and return it.

Callers 5

from_request_partsMethod · 0.45
encodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected