Skip to content

Commit a4e64d8

Browse files
committed
Add comments
1 parent 2ca026e commit a4e64d8

3 files changed

Lines changed: 5 additions & 18 deletions

File tree

Sources/NetworkLayerInterfaces/Classes/Core/Authenticator/IAuthenticator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import Foundation
77

8-
/// <#Description#>
8+
/// A protocol defining the interface for an authenticator type.
99
public protocol IAuthenticator {
1010
associatedtype Credential: IAuthenticationCredential
1111

Sources/NetworkLayerInterfaces/Classes/Core/Authenticator/IAuthenticatorInterceptor.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ public protocol IAuthenticatorInterceptor {
2121
/// - session: The URLSession for which the request is being refreshed.
2222
func refresh(_ request: URLRequest, with response: HTTPURLResponse, for session: URLSession) async throws
2323

24-
/// <#Description#>
24+
/// Determines whether a request requires a credential refresh.
2525
///
2626
/// - Parameters:
27-
/// - request: <#request description#>
28-
/// - response: <#response description#>
27+
/// - request: The URLRequest to check.
28+
/// - response: The HTTPURLResponse received for the request.
2929
///
30-
/// - Returns: <#description#>
30+
/// - Returns: A boolean indicating whether a credential refresh is required.
3131
func isRequireRefresh(_ request: URLRequest, response: HTTPURLResponse) -> Bool
3232
}

Sources/NetworkLayerInterfaces/Classes/Core/Encoder/IParameterEncoder.swift

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)