wrapped

package
v0.0.0-...-78e7222 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnwrapClaimsFromContext

func UnwrapClaimsFromContext(r *http.Request) (claims.Claims, error)

Types

type Wrapped

type Wrapped struct {
	Type  claims.Type     `json:"type"`
	Value json.RawMessage `json:"value"`
}

func Wrap

func Wrap(claimsToWrap claims.Claims) (Wrapped, error)

func (Wrapped) Unwrap

func (wc Wrapped) Unwrap() (claims.Claims, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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