jwt

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2017 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeFiderClaims

func DecodeFiderClaims(token string) (*models.FiderClaims, error)

DecodeFiderClaims extract claims from JWT tokens

func DecodeOAuthClaims

func DecodeOAuthClaims(token string) (*models.OAuthClaims, error)

DecodeOAuthClaims extract OAuthClaims from given JWT token

func Encode

func Encode(claims jwtgo.Claims) (string, error)

Encode creates new JWT tokens with given claims

Types

This section is empty.

Jump to

Keyboard shortcuts

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