Skip to main content

validate_claim_token

Function validate_claim_token 

Source
pub fn validate_claim_token(token: &str) -> Result<(), ClaimTokenError>
Expand description

Validate a claim token format.

ยงErrors

Returns a user-facing validation error when the token is empty, has the wrong prefix, or has the wrong length.