package
0.0.0-20240713004040-287950c85fc4
Repository: https://github.com/tomcz/example-grpc.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
NewBearerAuth represents bearer token authentication.
NewDomainAllowList creates an allowed list from a comma-separated set of domains.
UserName retrieves the existing username, or returns an empty string.
WithUserName store the username under a well-known context key.

# Variables

ErrInvalidToken authentication failure.
ErrNoCertMatch authentication failure.

# Interfaces

AllowList describes a list of allowed TLS certificates.
Service represents a startable & stoppable service.
TokenAuth represents a way of resolving tokens to usernames.