Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class JwtEncoderParameters
- Object
- JwtEncoderParameters
What a
JwtEncoder is asked to sign: claims, and optionally a header.Methods
Inherited methods
Method details
from
public static JwtEncoderParameters from(JwtClaimsSet claims)These claims, signed with the encoder’s first key under the algorithm
that key is for.
from
public static JwtEncoderParameters from(JwsHeader jwsHeader, JwtClaimsSet claims)These claims under this header.
getJwsHeader
public JwsHeader getJwsHeader()The header, or null for the encoder’s choice.
getClaims
public JwtClaimsSet getClaims()