internal

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPolicyContext added in v0.0.6

func DefaultPolicyContext(policy middleware.Policy) *api.PolicyContext

func ToPolicyPath added in v0.0.6

func ToPolicyPath(path string) string

func ValueOrEmpty added in v0.0.6

func ValueOrEmpty(ctx context.Context, key interface{}) string

Types

type Identity added in v0.0.6

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

func (*Identity) Context added in v0.0.6

func (id *Identity) Context() *api.IdentityContext

func (*Identity) ID added in v0.0.6

func (id *Identity) ID(identity string) middleware.Identity

func (*Identity) IsJWT added in v0.0.6

func (id *Identity) IsJWT() bool

func (*Identity) IsSubject added in v0.0.6

func (id *Identity) IsSubject() bool

func (*Identity) JWT added in v0.0.6

func (id *Identity) JWT() middleware.Identity

func (*Identity) None added in v0.0.6

func (id *Identity) None() middleware.Identity

func (*Identity) Subject added in v0.0.6

func (id *Identity) Subject() middleware.Identity

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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