Function introspect_o_auth2_token

Source
pub async fn introspect_o_auth2_token(
    configuration: &Configuration,
    token: &str,
    scope: Option<&str>,
) -> Result<OAuth2TokenIntrospection, 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 accessTokenExtra during the consent flow. For more information read this blog post.