jwt

package
v0.0.0-...-9e5282c Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PayloadUnsafe

func PayloadUnsafe(jwtk string) (*payload, error)

PayloadUnsafe returns the unverified payload section of a given JWT.

Unsafe because the content can not be trusted if you do not also verify the signature of the JWT.

func VerifySignature

func VerifySignature(jwtk string, pubKey string) error

Verify the given encoded JWT with the RSA public key in PEM format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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