// SPDX-FileCopyrightText: Politik im Blick developers
// SPDX-FileCopyrightText: Wolfgang Silbermayr <wolfgang@silbermayr.at>
//
// SPDX-License-Identifier: AGPL-3.0-or-later OR EUPL-1.2

use super::{Issuer, OidcSub};
use pib_service_core_types::UserId;

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct UserInfo {
    pub id: UserId,
    pub issuer: Issuer,
    pub sub: OidcSub,
    pub display_name: Option<String>,
    pub is_superuser: bool,
}
