validateCredential method Null safety

void validateCredential(
  1. String? correlationId,
  2. CredentialParams? credential
)

Validates credential parameters and throws an exception on error. This method can be overriden in child classes.

  • correlationId (optional) transaction id to trace execution through call chain.
  • credential credential parameters to be validated