Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingSigner = errors.New("missing signer") ErrUnsupportedAlgorithm = errors.New("unsupported algorithm") )
Functions ¶
func ExtractClaims ¶
ExtractClaims parses a signed JWT and unmarshals the payload into the supplied claims The signature is NOT checked so these claims are unverified. This function exists because the JOSE library fails when parsing a signed token with a non-string nonce, AM requires an integer nonce
func JWAFromKey ¶
JWAFromKey attempts to deduce the signing algorithm by looking at the public key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.