# Packages
No description provided by the author
# Functions
StartGRPCServer starts a gRPC server listening on the given address.
StreamPublicEndpointFilter is a filter that ignores calls to the public endpoints.
StreamReflectionFilter is a filter that ignores calls to the reflection endpoint.
StreamServerInterceptorWithFilter wraps a grpc.StreamServerInterceptor and only invokes the interceptor, if the filter function does not return true.
UnaryPublicEndpointFilter is a filter that ignores calls to the public endpoints.
UnaryReflectionFilter is a filter that ignores calls to the reflection endpoint.
UnaryServerInterceptorWithFilter wraps a grpc.UnaryServerInterceptor and only invokes the interceptor, if the filter function does not return true.
WithAdditionalGRPCOpts is an option to add an additional gRPC dial options in the REST server communication to the backend.
WithAssessment is an option for [StartGRPCServer] to register a [assessment.AssessmentServer] at start.
WithDiscovery is an option for [StartGRPCServer] to register a [discovery.DiscoveryServer] at start.
WithEvaluation is an option for [StartGRPCServer] to register a [evaluation.EvaluationServer] at start.
WithEvidenceStore is an option for [StartGRPCServer] to register a [evidence.EvidenceStoreServer] at start.
WithExperimentalDiscovery is an option for [StartGRPCServer] to register a [discovery.ExperimentalDiscoveryServer] at start.
WithJWKS is an option to provide a URL that contains a JSON Web Key Set (JWKS).
WithOrchestrator is an option for [StartGRPCServer] to register a [orchestrator.OrchestratorServer] at start.
WithReflection is an option for [StartGRPCServer] to enable gRPC reflection.
WithPublicKey is an option to directly provide a ECDSA public key which is used to verify tokens coming from RPC clients.
WithReflection is an option for [StartGRPCServer] to enable gRPC reflection.
# Constants
AuthContextKey is a key used in RPC context to retrieve the token info with using context.Value.
DefaultJWKSURL is the default JWKS url pointing to a local authentication server.
# Structs
AuthConfig contains all necessary parameters that are needed to configure an authentication middleware.
OpenIDConnectClaim represents a claim that supports some aspects of a token issued by an OpenID Connect provider.
ProfileClaim represents claims that are contained in the profile scope of OpenID Connect.
# Type aliases
AuthContextKeyType is a key type that is used in context.WithValue to store the token info in the RPC context.
Server is a typealias for [grpc.Server] so that users of this package do not need to import the grpc packages directly.
StartGRPCServerOption is a type for functional style options that can configure the [StartGRPCServer] function.