AuthRequestParams constructor

AuthRequestParams({
  1. required String chainId,
  2. required String domain,
  3. required String aud,
  4. String? nonce,
  5. String? type = CacaoHeader.EIP4361,
  6. String? nbf,
  7. String? exp,
  8. String? statement,
  9. String? requestId,
  10. List<String>? resources,
  11. int? expiry,
})

Implementation

AuthRequestParams({
  required this.chainId,
  required this.domain,
  required this.aud,
  String? nonce,
  this.type = CacaoHeader.EIP4361,
  this.nbf,
  this.exp,
  this.statement,
  this.requestId,
  this.resources,
  this.expiry,
}) : nonce = nonce ?? AuthUtils.generateNonce();