guard

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Guard

type Guard struct {
	// contains filtered or unexported fields
}

func NewGuard

func NewGuard(ctx context.Context) *Guard

func (*Guard) Verify

func (g *Guard) Verify(plan, option string)

func (*Guard) WithAuthenticationModule

func (g *Guard) WithAuthenticationModule(authenticationModule authentication.Module) *Guard

func (*Guard) WithAuthorizationModule

func (g *Guard) WithAuthorizationModule(authorizationModule authorization.Module) *Guard

Jump to

Keyboard shortcuts

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