jwt

package
v0.11.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: Apache-2.0 Imports: 3 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 GetIssuedAt added in v0.11.0

func GetIssuedAt(m jwtgo.MapClaims) (int64, error)

GetIssuedAt returns the issued at as an int64

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