Categorygithub.com/ScaleFT/xjwt
repositorypackage
1.0.2
Repository: https://github.com/scaleft/xjwt.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

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.