Response class

External Credentials — Issue — response payload

Constructors

Response({required String sealedCredential, required String expiresAt, CredentialScope? scope, PresignBatch? presign, Ext? ext})
const
Response.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

expiresAt → String
The provider's expiry for the credential, in the clear; for presign, the earliest expiry in the batch.
final
ext → Ext?
final
hashCode → int
The hash code for this object.
no setterinherited
presign → PresignBatch?
The batch actually presigned, which equals the requested one.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → CredentialScope?
The scope actually granted, which equals the requested one.
final
sealedCredential → String
A SealedTransferBundle (external/_shared/0.1), sealed to the caller's key-agreement key, whose cleartext is an ExternalCredentialPayload for scope or a PresignedRequestSet for presign. Bounded at 256 KiB rather than the shared 64 KiB because a batch of presigned requests does not fit 64 KiB. A custodian never answers above this bound and never truncates the set: a batch whose sealed set would not fit is refused with responseTooLarge.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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