pub fn encode_es256(claims: &Claims, signing_key: &SigningKey) -> StringExpand description
Encode and sign an OAuth 2.0 access token with ES256 (P-256 ECDSA).
Produces a standard at+jwt with alg: "ES256" in the JOSE header.
The kid is the RFC 7638 JWK Thumbprint of the P-256 public key.
Automatically assigns a jti if not already set.