auth

package
v0.0.0-...-fc3792f Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

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

func New

func New(conf *Config) *Auth

func (*Auth) AllowAny

func (a *Auth) AllowAny(ctx *bm.Context)

func (*Auth) IsAdmin

func (a *Auth) IsAdmin(ctx *bm.Context)

func (*Auth) IsAuthenticated

func (a *Auth) IsAuthenticated(ctx *bm.Context)

type Config

type Config struct {
	AuthClient *warden.ClientConfig
}

Jump to

Keyboard shortcuts

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