Skip to main content

mas_storage/oauth2/
mod.rs

1// Copyright 2025, 2026 Element Creations Ltd.
2// Copyright 2024, 2025 New Vector Ltd.
3// Copyright 2021-2024 The Matrix.org Foundation C.I.C.
4//
5// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6// Please see LICENSE files in the repository root for full details.
7
8//! Repositories to interact with entities related to the OAuth 2.0 protocol
9
10mod access_token;
11mod authorization_grant;
12mod client;
13mod device_code_grant;
14mod refresh_token;
15mod session;
16
17pub use self::{
18    access_token::OAuth2AccessTokenRepository,
19    authorization_grant::OAuth2AuthorizationGrantRepository,
20    client::{OAuth2ClientFilter, OAuth2ClientKind, OAuth2ClientRepository},
21    device_code_grant::{OAuth2DeviceCodeGrantParams, OAuth2DeviceCodeGrantRepository},
22    refresh_token::OAuth2RefreshTokenRepository,
23    session::{OAuth2SessionFilter, OAuth2SessionRepository},
24};