Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public static final class JwsHeader.Builder

  1. Object
  2. JwsHeader.Builder
Builds a JwsHeader.

Methods

public JwsHeader.Builder keyId(String keyId)kid: sign with the key of this id.
public JwsHeader.Builder type(String type)typ: JWT, or at+jwt for an access token.
public JwsHeader.Builder header(String name, Object value)Any other header.
public JwsHeader build()

Inherited methods

Method details

keyId

public JwsHeader.Builder keyId(String keyId)
kid: sign with the key of this id.

type

public JwsHeader.Builder type(String type)
typ: JWT, or at+jwt for an access token.

header

public JwsHeader.Builder header(String name, Object value)
Any other header.

build

public JwsHeader build()