Function twitch_oauth2::validate_token [−][src]
pub async fn validate_token<'a, C>(
client: &'a C,
token: &AccessTokenRef
) -> Result<ValidatedToken, ValidationError<<C as Client<'a>>::Error>> where
C: Client<'a>,
Expand description
Validate this token.
Should be checked on regularly, according to https://dev.twitch.tv/docs/authentication#validating-requests