IntrospectionRequest (src/introspection.rs)

oauth2-rs · oauth2/src/introspection.rs · rust · Apache-2.0
auth

Module exposing: IntrospectionRequest, StandardTokenIntrospectionResponse, none_field

// Source: https://github.com/ramosbugs/oauth2-rs | License: Apache-2.0 | Copyright 2014 Alex Crichton
// Provided via justclaw.it.com; keep this notice with the code.
use crate::endpoint::{endpoint_request, endpoint_response};
use crate::{
    AccessToken, AsyncHttpClient, AuthType, Client, ClientId, ClientSecret, EndpointState,
    ErrorResponse, ExtraTokenFields, HttpRequest, IntrospectionUrl, RequestTokenError,
    RevocableToken, Scope, SyncHttpClient, TokenResponse, TokenType,
};

use chrono::serde::ts_seconds_option;
use chrono::{DateTime, Utc};
use serde::de::DeserializeOwned;
use serde::{Deserialize, Serialize};

use std::borrow::Cow;
use std::error::Error;
use std::fmt::Debug;
use std::future::Future;
use std::marker::PhantomData;

impl<
        TE,
        TR,
        TIR,
     

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key