Added support for an API key to the AuthMiddleware middleware in the library target.

This commit is contained in:
2025-10-04 19:07:29 +02:00
parent ce0ec02c03
commit 0105125679
5 changed files with 163 additions and 51 deletions
@@ -13,6 +13,8 @@
extension String {
/// A namespace assigned for Marvel API key samples.
enum Key {
/// A Marvel API key sample.
static let api = "SomeAPIKey"
/// A Marvel API private key sample.
static let `private` = "SomePrivateKey"
/// A Marvel API public key sample.