openid-client 0.2.7

OpenID client for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::collections::HashMap;

use serde::Deserialize;
use serde_json::Value;

#[derive(Deserialize, Debug)]
/// # ParResponse
/// The response of a pushed authorization request
pub struct ParResponse {
    /// Seconds in which the request_uri is valid for
    pub expires_in: u64,
    /// The authorization request uri
    pub request_uri: String,
    /// Extra key-value sent by the server
    #[serde(flatten)]
    pub others: HashMap<String, Value>,
}