jwtInterface

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JWTdecode

func JWTdecode(tokenString string) *jwt.Token

JWTdecode is JWT interface for decode

func JWTdecodeWithVerify

func JWTdecodeWithVerify(tokenString, secret string) (bool, *jwt.Token)

JWTdecodeWithVerify is interface for decode with verify

func JWTencode

func JWTencode(claims map[string]interface{}, secret, alg string) string

JWTencode is JWT interface for encode

Types

This section is empty.

Jump to

Keyboard shortcuts

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