findCredential method

NetworkCredential? findCredential(
  1. NetworkCredentialKey key
)

Returns the credential specified by the key, or null if not found.