ScaleFT / xjwt

Go library of small extensions for working with JWTs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xjwt: small extensions for implementing JWT-based systems

GoDoc Build Status

Methods

JWT Verification

xjwt.Verify and xjwt.VerifyRaw are strict verifying methods for validating a JWT is valid and well formed.

Remote JWK Keysets

xkeyset.RemoteKeyset wraps a remote JWKs URL, caching and refreshing a list of JWKs in the background.

jose.v2 shortcuts

RandomNonce

xjwt.RandomNonce provides a basic, random value, conforming to the jose.NonceSource interface.

Converting PEM encoding to JOSE types

xjwt.ParsePrivateKey converts a private key from a PEM encoding to a *jose.JSONWebKey.

License

xjwt is licensed under the Apache License Version 2.0. See the LICENSE file for details.

About

Go library of small extensions for working with JWTs

License:Apache License 2.0


Languages

Language:Go 100.0%