Documentation ¶ Index ¶ func Factory() beego.FilterFunc type AuthBase func NewKeystone() AuthBase func NewNoAuth() AuthBase type Keystone func (k *Keystone) Filter(ctx *bctx.Context) func (k *Keystone) SetUp() error type NoAuth func (auth *NoAuth) Filter(httpCtx *context.Context) 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) Source Files ¶ View all Source files auth.go keystone.go Click to show internal directories. Click to hide internal directories.