common

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: MIT Imports: 7 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapClaims

func MapClaims(claims []byte, customClaims *structs.CustomClaims) error

MapClaims populate CustomClaims from userInfo for each configure claims header

func PrepareTokensAndClient

func PrepareTokensAndClient(r *http.Request, ptokens *structs.PTokens, setpid bool) (*http.Client, *oauth2.Token, error)

PrepareTokensAndClient setup the client, usually for a UserInfo request

Types

This section is empty.

Jump to

Keyboard shortcuts

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