jwt

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeJWS

func DecodeJWS(token string, encodedPubKey string) ([]byte, error)

func DecodeJWSNoVerify

func DecodeJWSNoVerify(token string) ([]byte, error)

func DecryptJWE

func DecryptJWE(key string, token string) ([]byte, error)

func EncodeJWS

func EncodeJWS(payload interface{}, privkey string) (string, error)

func EncryptJWE

func EncryptJWE(key string, payload interface{}) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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