SessionAuthRequestParams constructor

  1. @JsonSerializable(includeIfNull: false)
const SessionAuthRequestParams({
  1. required List<String> chains,
  2. required String domain,
  3. required String nonce,
  4. required String uri,
  5. CacaoHeader? type,
  6. String? nbf,
  7. String? exp,
  8. String? statement,
  9. String? requestId,
  10. List<String>? resources,
  11. int? expiry,
  12. @Default(<String>[]) List<String>? methods,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory SessionAuthRequestParams({
  required List<String> chains,
  required String domain,
  required String nonce,
  required String uri,
  //
  CacaoHeader? type,
  String? nbf,
  String? exp,
  String? statement,
  String? requestId,
  List<String>? resources,
  int? expiry,
  @Default(<String>[]) List<String>? methods,
}) = _SessionAuthRequestParams;