Skip to content

Commit b5cce2a

Browse files
committed
Minor adjustment to the SessionConfiguration docs, making mention of the addition of .unauthorized (401)
1 parent ff42349 commit b5cce2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/ATProtoKit/APIReference/SessionManager/SessionConfiguration.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ public protocol SessionConfiguration: AnyObject, Sendable {
112112
/// while adding the password and tokens to the `keychainProtocol` instance. Additional
113113
/// Two-Factor Authentication implementations must be handled as well.
114114
///
115+
/// - Note: 2FA detection now supports both `.badRequest` (400) and `.unauthorized` (401)
116+
/// responses containing the `AuthFactorTokenRequired` error.
117+
///
115118
/// - Parameters:
116119
/// - handle: The hanle used for the account.
117120
/// - password: The password used for the account.

0 commit comments

Comments
 (0)