(
state: &S,
token: &str,
)
| 390 | } |
| 391 | |
| 392 | pub async fn validate_token<S: NodeDelegate>( |
| 393 | state: &S, |
| 394 | token: &str, |
| 395 | ) -> Result<SpacetimeIdentityClaims, TokenValidationError> { |
| 396 | state.jwt_auth_provider().validator().validate_token(token).await |
| 397 | } |
| 398 | |
| 399 | pub struct SpacetimeAuthHeader { |
| 400 | auth: Option<SpacetimeAuth>, |
no test coverage detected
searching dependent graphs…