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.