summaryrefslogtreecommitdiffstats
path: root/entities/src/auth/mod.rs
blob: 3fbda7439331ab7f2caee070b75b1e65c72f4c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// OAuth Scopes
pub mod scopes;
pub mod token;

pub use scopes::{Scope, Scopes};
use serde::{Deserialize, Serialize};
pub use token::Token;

pub mod prelude {
    pub use super::{scopes, Scope, Scopes, Token};
}

/// The empty object is returned by a request to revoke an OAuth token. This
/// type represents that.
#[derive(Debug, Default, Copy, Clone, Deserialize, Serialize)]
pub struct RevocationResponse {}