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.
Click to show internal directories.
Click to hide internal directories.