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

Method validate_token

crates/client-api/src/routes/database.rs:1684–1686  ·  view source on GitHub ↗
(&self, _token: &str)

Source from the content-addressed store, hash-verified

1682 #[async_trait]
1683 impl TokenValidator for DummyValidator {
1684 async fn validate_token(&self, _token: &str) -> Result<SpacetimeIdentityClaims, TokenValidationError> {
1685 Err(TokenValidationError::Other(anyhow::anyhow!("unused")))
1686 }
1687 }
1688
1689 #[derive(Clone)]

Callers 3

decode_encoded_tokenFunction · 0.45
validate_tokenFunction · 0.45

Calls 2

OtherClass · 0.85
ErrFunction · 0.50

Tested by

no test coverage detected