pub async fn introspect_o_auth2_token(
    configuration: &Configuration,
    token: &str,
    scope: Option<&str>
) -> Result<IntrospectedOAuth2Token, Error<IntrospectOAuth2TokenError>>
Expand description

The introspection endpoint allows to check if a token (both refresh and access) is active or not. An active token is neither expired nor revoked. If a token is active, additional information on the token will be included. You can set additional data for a token by setting session.access_token during the consent flow.