PayloadType class

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
This enum's name, as specified in the .proto file.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
This enum's integer value, as specified in the .proto file.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns this enum's name or the value if names are not represented.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

valueOf(int value) PayloadType?

Constants

PAYLOAD_TYPE_JSON → const PayloadType
PAYLOAD_TYPE_JSON will send the payload as JSON in the body of the request. For integrity and authenticity a signature is included in the header X-ZITADEL-Signature. This is the current default, for backwards compatibility reasons.
PAYLOAD_TYPE_JWE → const PayloadType
PAYLOAD_TYPE_JWE will send the payload as Encrypted JWT (JWE) in the body of the request. This allows additional security, e.g when passing sensitive information. You can provide your own public key for encryption.
PAYLOAD_TYPE_JWT → const PayloadType
PAYLOAD_TYPE_JWT will send the payload as JSON Web Token (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).
PAYLOAD_TYPE_UNSPECIFIED → const PayloadType
values → const List<PayloadType>