jwt

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetField

func GetField(claims jwtgo.MapClaims, fieldName string) string

GetField extracts a field from the claims as a string

func GetGroups

func GetGroups(claims jwtgo.MapClaims) []string

GetGroups extracts the groups from a claims

func MapClaims

func MapClaims(claims jwtgo.Claims) (jwtgo.MapClaims, error)

MapClaims converts a jwt.Claims to a MapClaims

Types

This section is empty.

Jump to

Keyboard shortcuts

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