fixedprincipal

package
v0.0.0-...-b45a7ae Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subject

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

func New

func New(key string) *Subject

func (*Subject) Key

func (p *Subject) Key() string

func (*Subject) NewContext

func (p *Subject) NewContext(parent context.Context) context.Context

func (*Subject) Principal

func (p *Subject) Principal() auth.Principal

Jump to

Keyboard shortcuts

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