//! [`TokenPair`] — the value returned by `login!` and `refresh_tokens!`.

use serde::{Deserialize, Serialize};

/// An access/refresh token pair issued after a successful login or token exchange.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct TokenPair {
    /// Short-lived JWT access token.
    pub access_token: String,
    /// Long-lived opaque refresh token (also a JWT in this implementation).
    pub refresh_token: String,
}
