authentication

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

type Middleware struct {
	TokenExtractor jwt_request.Extractor
	Tracer         middleware.Tracer
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) *Middleware

func (*Middleware) IgnoreRoute

func (m *Middleware) IgnoreRoute(route *mux.Route) *Middleware

func (*Middleware) Middleware

func (m *Middleware) Middleware() func(http.Handler) http.Handler

type Option

type Option func(*Middleware)

func WithStage

func WithStage(stage string) Option

type SSOClient

type SSOClient struct {
	*rest.Client
}

func NewSSOClient

func NewSSOClient(stage string) *SSOClient

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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