You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
GraphQL API
This commit is contained in:
@ -33,6 +33,8 @@ pub struct UpstreamOAuthProvider {
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize)]
|
||||
pub struct UpstreamOAuthLink {
|
||||
pub id: Ulid,
|
||||
pub provider_id: Ulid,
|
||||
pub user_id: Option<Ulid>,
|
||||
pub subject: String,
|
||||
pub created_at: DateTime<Utc>,
|
||||
}
|
||||
@ -40,6 +42,8 @@ pub struct UpstreamOAuthLink {
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize)]
|
||||
pub struct UpstreamOAuthAuthorizationSession {
|
||||
pub id: Ulid,
|
||||
pub provider_id: Ulid,
|
||||
pub link_id: Option<Ulid>,
|
||||
pub state: String,
|
||||
pub code_challenge_verifier: Option<String>,
|
||||
pub nonce: String,
|
||||
|
Reference in New Issue
Block a user