auth

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	replication.Client
	AccessPolicies accesspolicy.Store
	Sessions       session.Store
}

func (*Server) V2

func (srv *Server) V2() *ServerV2

type ServerV2

type ServerV2 struct {
	auth.UnimplementedAuthorizationServer
	*Server
}

func (*ServerV2) Check

func (srv *ServerV2) Check(ctx context.Context, req *auth.CheckRequest) (*auth.CheckResponse, error)

type TracingMiddleware

type TracingMiddleware struct {
	Next http.RoundTripper
}

func (*TracingMiddleware) RoundTrip

func (t *TracingMiddleware) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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