Skip to content

Commit

Permalink
Fix broken links in DocC
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterJ93 committed Dec 22, 2024
1 parent fc0ee9a commit bd8628f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ public class ATProtocolConfiguration: SessionConfiguration {
///
/// - Important: ``ATProtocolConfiguration/authenticate(authenticationFactorToken:)``,
/// ``ATProtocolConfiguration/createAccount(email:handle:existingDID:inviteCode:verificationCode:verificationPhone:password:recoveryKey:plcOperation:)``,
/// ``ATProtocolConfiguration/deleteSession()``,
/// ``ATProtocolConfiguration/getSession(by:)``, and
/// ``ATProtocolConfiguration/deleteSession()`` will not work when initializing
/// ``ATProtocolConfiguration/getSession(by:authenticationFactorToken:)``,
/// ``ATProtocolConfiguration/refreshSession(by:authenticationFactorToken:)``and
/// ``ATProtocolConfiguration/deleteSession(with:)`` will not work when initializing
/// ATProtocolConfiguration with this initializer.
///
/// - Parameters:
Expand Down Expand Up @@ -305,9 +305,10 @@ public class ATProtocolConfiguration: SessionConfiguration {
/// If the access token is invalid, then a new one will be created, either by refeshing a
/// session, or by re-authenticating.
///
/// - Parameter accessToken: The access token used for the session. Optional.
/// Defaults to `nil`.
///
/// - Parameters:
/// - accessToken: The access token used for the session. Optional.
/// Defaults to `nil`.
/// - authenticationFactorToken: A token used for Two-Factor Authentication. Optional.
/// - Returns: Information of the user account's current session straight from the service.
/// - Throws: An ``ATProtoError``-conforming error type, depending on the issue. Go to
/// ``ATAPIError`` and ``ATRequestPrepareError`` for more details.
Expand Down
6 changes: 3 additions & 3 deletions Sources/ATProtoKit/ATProtoKit.docc/Misc/0210AuthFlowChange.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ Here are the changes being made:
`ATProtoKit` method|Proxy Method
---:|:---
``ATProtoKit/ATProtoKit/createSession(with:and:authenticationFactorToken:pdsURL:)``|``ATProtocolConfiguration/authenticate(authenticationFactorToken:)``
``ATProtoKit/ATProtoKit/getSession(by:pdsURL:)``|``ATProtocolConfiguration/getSession(by:)``
``ATProtoKit/ATProtoKit/refreshSession(refreshToken:pdsURL:)``| ``ATProtocolConfiguration/refreshSession(by:)``
``ATProtoKit/ATProtoKit/deleteSession(refreshToken:pdsURL:)``|``ATProtocolConfiguration/deleteSession()``
``ATProtoKit/ATProtoKit/getSession(by:pdsURL:)``|``ATProtocolConfiguration/getSession(by:authenticationFactorToken:)``
``ATProtoKit/ATProtoKit/refreshSession(refreshToken:pdsURL:)``| ``ATProtocolConfiguration/refreshSession(by:authenticationFactorToken:)``
``ATProtoKit/ATProtoKit/deleteSession(refreshToken:pdsURL:)``|``ATProtocolConfiguration/deleteSession(with:)``
``ATProtoKit/ATProtoKit/createAccount(email:handle:existingDID:inviteCode:verificationCode:verificationPhone:password:recoveryKey:plcOperation:pdsURL:)``| ``ATProtocolConfiguration/createAccount(email:handle:existingDID:inviteCode:verificationCode:verificationPhone:password:recoveryKey:plcOperation:)``


Expand Down

0 comments on commit bd8628f

Please sign in to comment.