interceptors

package
v0.0.0-...-8366d43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthFailSignature = "AuthFail"
	AuthPassSignature = "AuthPass"
)

Variables

This section is empty.

Functions

func MetricsInterceptor

func MetricsInterceptor(statter metrics.Statter) grpc.UnaryServerInterceptor

func OIDCInterceptor

func OIDCInterceptor(provider oidcx.Provider, securityLogger logx.SecurityLogger) grpc.UnaryServerInterceptor

Types

type Claims

type Claims struct {
	Scopes []string `json:"scope"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL