Credentials is a pluggable framework for validating a user's credentials. One of the credentials plugins Kitura supports is HTTP basic authentication. HTTP authentication uses the credentials in the HTTP authorization request header, which contains user ID and password pairs, to authenticate with a server.
For your server-side Swift application, Kitura provides you with the raw HTTP basic authentication module to process the HTTP credentials.
If you want to authenticate an HTTP request on a Codable route, you have an option to choose the TypeSafe HTTP basic authentication method to take advantage of TypeSafeCredentials, one of the type-safe middleware introduced in Kitura 2.4.