authz

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LINEAuthzServer

type LINEAuthzServer struct {
	Log    logr.Logger
	Client *goline.Client
}

LINEAuthzServer implements the envoy AuthorizationServer https://pkg.go.dev/github.com/envoyproxy/go-control-plane/envoy/service/auth/v3#AuthorizationServer

func (*LINEAuthzServer) Check

Check checks the authorization header. Extract bearer LINE access token from the header and authorize it upstream LINE Login service.

func (*LINEAuthzServer) Run

func (s *LINEAuthzServer) Run(ctx context.Context, lis net.Listener) error

Run start grpc server

Jump to

Keyboard shortcuts

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