Files
Outpost/OutlineKit/Sources/OutlineKit/Models/OutlineAuthInfo.swift
T
Puranjay Savar Mattas 07fb08cb6b feat(outlinekit): add REST client package for Outline API
Local SPM package wrapping Outline's RPC-style REST API — auth,
documents, collections, and search — behind a protocol boundary
(OutlineAPIClient) so the app never depends on the transport directly.
2026-08-14 00:23:12 +01:00

13 lines
352 B
Swift

import Foundation
/// Result of `auth.info` — confirms a token is valid and identifies the signed-in user/workspace.
public struct OutlineAuthInfo: Codable, Sendable {
public let user: OutlineUser
public let team: OutlineTeam
public init(user: OutlineUser, team: OutlineTeam) {
self.user = user
self.team = team
}
}