Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor struct {
// contains filtered or unexported fields
}
Interceptor is an authentication interceptor.
func NewInterceptor ¶
func NewInterceptor(ctx context.Context, rbacServerAddr, accessResource string) (*Interceptor, error)
NewInterceptor creates a new Interceptor.
func (*Interceptor) Unary ¶
func (a *Interceptor) Unary() grpc.UnaryServerInterceptor
Unary returns a unary server interceptor.
Click to show internal directories.
Click to hide internal directories.