Skip to main content

validate_token

Function validate_token 

Source
pub fn validate_token(
    token: &DelegationToken,
    delegator_pk: &PublicKey,
    token_pk: &PublicKey,
    project_id: &str,
) -> Result<DelegationClaims, JoyError>
Expand description

Validate a delegation token against both the delegator’s key and the token_key.