jwt

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package jwt ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAndVerifyToken

func ParseAndVerifyToken(ctx context.Context, authorizationToken string, jwksURL string, verifyToken bool) (jwt.Token, error)

ParseAndVerifyToken parse the given token and verifies the signature ctx: Mandatory - the context authorizationToken: Mandatory - the auhorization token jwksURL: Mandatory - the URL to where the public keys are stored verifyToken: Mandatory - indicates whether the provided token needs to be signature verified Returns either the parsed and verified token or error if something goes wrong

Types

This section is empty.

Directories

Path Synopsis
Package fasthttp ...
Package fasthttp ...
Package grpc ...
Package grpc ...

Jump to

Keyboard shortcuts

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