tangled
alpha
login
or
join now
sparrowtek.com
/
EffemKit
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
Re-export OAuth from CoreATProtocol
radmakr.com
4 weeks ago
33009a16
43eaa4fa
+31
1 changed file
expand all
collapse all
unified
split
Sources
EffemKit
OAuth
EffemOAuth.swift
+31
Sources/EffemKit/OAuth/EffemOAuth.swift
···
1
1
+
import Foundation
2
2
+
@_exported import CoreATProtocol
3
3
+
4
4
+
// MARK: - Re-export OAuth types from CoreATProtocol
5
5
+
6
6
+
/// Re-export ATProtoOAuth as EffemOAuth for Effem-specific usage.
7
7
+
public typealias EffemOAuth = ATProtoOAuth
8
8
+
9
9
+
/// Re-export OAuth configuration.
10
10
+
public typealias EffemOAuthConfig = ATProtoOAuthConfig
11
11
+
12
12
+
/// Re-export OAuth storage.
13
13
+
public typealias EffemAuthStorage = ATProtoAuthStorage
14
14
+
15
15
+
/// Re-export OAuth result.
16
16
+
public typealias EffemAuthResult = ATProtoAuthResult
17
17
+
18
18
+
/// Re-export OAuth errors.
19
19
+
public typealias EffemOAuthError = ATProtoOAuthError
20
20
+
21
21
+
/// Re-export identity errors.
22
22
+
public typealias EffemIdentityError = IdentityError
23
23
+
24
24
+
/// Re-export user authenticator type.
25
25
+
public typealias EffemUserAuthenticator = UserAuthenticator
26
26
+
27
27
+
// MARK: - Re-export OAuthenticator types (already re-exported from CoreATProtocol)
28
28
+
// Login, Token, and LoginStorage are already available via CoreATProtocol
29
29
+
30
30
+
// MARK: - Re-export ErrorMessage
31
31
+
public typealias EffemErrorMessage = ErrorMessage