Packages authored by Swift Microservices
These packages are available as a package collection, usable in Xcode or SwiftPM.
swift-authentication
Who is calling, proved by a credential, and carried with the call. The authentication vocabulary for Swift services, generic over the credential, with no dependencies but swift-operation-context.
swift-authentication-grpc
Binding who is calling on gRPC: a bearer token proved on the way in, the same token presented on the way out, with peers proved by mTLS at the transport. Interceptors for swift-authentication over grpc-swift-2.
swift-authentication-hummingbird
Binding who is calling on Hummingbird: a bearer token, proved and set on the request context. Middleware for swift-authentication over HummingbirdAuth.
swift-authentication-jwt
A bearer token as a JSON Web Token: issued with a private key, proved with the public one. JWTIssuer and JWTAuthenticator for swift-authentication, over jwt-kit.
swift-authentication-vapor
Binding who is calling on Vapor: a bearer token, proved and logged in to the request. Middleware for swift-authentication over Vapor 4.
swift-openapi-token-authentication
Access-token authentication and automatic refresh for Swift API clients, with a middleware for Swift OpenAPI Generator clients.
swift-operation-context
Type-safe, task-scoped value propagation for Swift.
swift-persistence
A transaction boundary that hands a unit of work exactly the repositories it may touch. Swift, no dependencies.
swift-persistence-postgres
The Postgres driver for swift-persistence: transactions over PostgresClient, with per-transaction settings for row-level security.
9 packages.