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-service-context.
swift-authentication-grpc
Binding who is calling on gRPC: a bearer token or the peer certificate on the way in, the same token on the way out. 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 OpenAPI clients
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.
8 packages.