Implemented the UserAgentMiddleware type in the library target.

This commit is contained in:
2025-10-13 02:37:46 +02:00
parent 8d371f20a3
commit 48ad88ef92
7 changed files with 408 additions and 47 deletions
@@ -43,6 +43,7 @@ public struct AuthMiddleware {
/// - Parameters:
/// - method: A representation of an authentication method to use to authenticate requests.
/// - transport: A representation of a transport option to send credentials in requests.
/// - Throws: An error of type ``InputValidationError`` in case an input failed any validation.
public init(
method: AuthMethod = .none,
transport: AuthTransport