Skip to content

ScaleFT/xjwt

Repository files navigation

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages