payloadType property
Payload type defines how the payload is formatted and secured.
The default is PAYLOAD_TYPE_JSON, which sends the payload as JSON in the body of the request.
For integrity and authenticity a signature is included in the header X-ZITADEL-Signature.
You can also choose to send the payload as a JWT (PAYLOAD_TYPE_JWT), which sends
the payload as a signed JWT in the body of the request. This allows the receiver to verify
the authenticity and integrity of the payload using the signing key (published on the JWKS URL).
If you need encryption as well, you can choose PAYLOAD_TYPE_JWE, which sends the payload
as an encrypted JWT in the body of the request. You can provide your own public key for encryption.
Implementation
@$pb.TagNumber(11)
PayloadType get payloadType => $_getN(10);
Implementation
@$pb.TagNumber(11)
set payloadType(PayloadType value) => $_setField(11, value);