auth

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

func Factory() beego.FilterFunc

Types

type AuthBase

type AuthBase interface {
	Filter(ctx *context.Context)
}

func NewKeystone

func NewKeystone() AuthBase

func NewNoAuth

func NewNoAuth() AuthBase

type Keystone

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

func (*Keystone) Filter

func (k *Keystone) Filter(ctx *bctx.Context)

func (*Keystone) SetUp

func (k *Keystone) SetUp() error

type NoAuth

type NoAuth struct{}

func (*NoAuth) Filter

func (auth *NoAuth) Filter(httpCtx *context.Context)

Jump to

Keyboard shortcuts

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