Service Account Signer
Builds Nylas Service Account request-signing headers for organization admin APIs.
For POST, PUT, and PATCH requests, buildHeaders also returns the canonical JSON body string that must be sent on the wire for the signature to match.
Functions
Link copied to clipboard
public final ServiceAccountSigningResult buildHeaders(String method, String path, Object body, Long timestamp)
public final ServiceAccountSigningResult buildHeaders(String method, String path, Object body, Long timestamp, String nonce)
Build the four required Nylas Service Account signing headers.