mas_storage/oauth2/
mod.rs

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