multiauthorizer

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsentMode

type ConsentMode int
const (
	ConsentModeAll ConsentMode = iota
	ConsentModeOne
)

type MultiAuthorizer

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

func New

func New(mode ConsentMode) *MultiAuthorizer

func (*MultiAuthorizer) Add

func (mAuth *MultiAuthorizer) Add(authName string, authorizer nexus.Authorizer)

func (*MultiAuthorizer) Authorize

func (mAuth *MultiAuthorizer) Authorize(sess *wamp.Session, msg wamp.Message) (bool, error)

Jump to

Keyboard shortcuts

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