Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor(t Authenticator) grpc.StreamServerInterceptor
StreamServerInterceptor returns a gRPC stream server interceptor that wraps the incoming stream with an authenticator.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(t Authenticator) grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a gRPC unary server interceptor that performs authentication using the provided Authenticator.
Types ¶
type Authenticator ¶ added in v0.4.6
Authenticator - Interface for oidc authenticator
type Authn ¶ added in v0.4.6
type Authn struct {
// contains filtered or unexported fields
}
Authn - Oidc verifier structure
func NewOidcAuthn ¶
NewOidcAuthn - Create new Oidc verifier
Click to show internal directories.
Click to hide internal directories.