SpaceAuthorizeSpaceSyncInput constructor

const SpaceAuthorizeSpaceSyncInput({
  1. required String space,
  2. required String credentialKey,
  3. String? delegationToken,
  4. String? clientAttestation,
  5. @NotifyConverter() Notify? notify,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory SpaceAuthorizeSpaceSyncInput({
  required String space,

  /// P-256 did:key that the credential is bound to.
  required String credentialKey,

  /// Obtained from getDelegationToken.
  String? delegationToken,
  String? clientAttestation,

  /// Register an endpoint to be notified of updates to the space via notifySpaceUpdate. The registration stays active while this credential is valid. After it expires, the endpoint receives only a prompt to reauthorize, or notice of the space's deletion.
  @NotifyConverter() Notify? notify,

  Map<String, dynamic>? $unknown,
}) = _SpaceAuthorizeSpaceSyncInput;