Expand description
Authentication and TLS configuration shared by Corium servers and clients.
v1 ships bearer-token auth behind a pluggable Authenticator trait and
TLS via tonic/rustls (see docs/design/protocol.md).
Structs§
- Auth
Interceptor - Server interceptor enforcing an
Authenticator. - Static
Token - Static-token authenticator;
Noneaccepts every request. - Token
Interceptor - Client interceptor attaching an optional bearer token to every request.
Traits§
- Authenticator
- Pluggable per-request authenticator.
Functions§
- client_
tls - Builds a client TLS config, optionally trusting a custom CA and overriding the domain name expected on the server certificate.
- server_
tls - Builds a server TLS config from PEM cert/key files.