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 anExternalCredentialPayloadforscopeor aPresignedRequestSetforpresign. Bounded at 256 KiB rather than the shared 64 KiB because a batch of 128 presigned requests does not fit 64 KiB.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