[][src]Function twitch_oauth2::validate_token

pub async fn validate_token<'_>(
    token: &'_ AccessToken
) -> Result<ValidatedToken, ValidationError>

Validate this token.

Should be checked on regularly, according to https://dev.twitch.tv/docs/authentication#validating-requests