2021-07-20 10:40:04 +02:00
|
|
|
//
|
|
|
|
// MastodonAuthenticationBox.swift
|
|
|
|
// Mastodon
|
|
|
|
//
|
|
|
|
// Created by MainasuK Cirno on 2021-7-20.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import CoreDataStack
|
2022-01-27 14:23:39 +01:00
|
|
|
import MastodonSDK
|
|
|
|
import MastodonUI
|
2021-07-20 10:40:04 +02:00
|
|
|
|
2022-01-27 14:23:39 +01:00
|
|
|
struct MastodonAuthenticationBox: UserIdentifier {
|
|
|
|
let authenticationRecord: ManagedObjectRecord<MastodonAuthentication>
|
2021-07-20 10:40:04 +02:00
|
|
|
let domain: String
|
|
|
|
let userID: MastodonUser.ID
|
|
|
|
let appAuthorization: Mastodon.API.OAuth.Authorization
|
|
|
|
let userAuthorization: Mastodon.API.OAuth.Authorization
|
|
|
|
}
|