bitwarden_core/auth/api/response/
identity_payload_response.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Serialize, Deserialize, Debug, PartialEq)]
4#[cfg_attr(test, derive(Default))]
5pub struct IdentityTokenPayloadResponse {
6    pub access_token: String,
7    pub expires_in: u64,
8    pub refresh_token: Option<String>,
9    token_type: String,
10    scope: String,
11
12    pub(crate) encrypted_payload: String,
13}