package
0.0.1
Repository: https://github.com/shimt/pam-exec-oauth2.git
Documentation: pkg.go.dev

# Functions

Decode decodes a claim set from a JWS payload.
Encode encodes a signed JWS with provided header and claim set.
EncodeWithSigner encodes a header and claim set with the provided signer.
Verify tests whether the provided JWT token's signature was produced by the private key associated with the supplied public key.

# Structs

ClaimSet contains information about the JWT signature including the permissions being requested (scopes), the target of the token, the issuer, the time the token was issued, and the lifetime of the token.
Header represents the header for the signed JWS payloads.

# Type aliases

Signer returns a signature for the given data.