[ Version ( since = "1.2" ) ]
public bool verify_secrets (Connection? connection) throws Error
Verifies the secrets in the setting.
The returned Error contains information about which secret of the setting failed validation, and in what way that secret failed validation. The secret validation is done separately from main setting validation, because in some cases connection failure is not desired just for the secrets.
this |
the Setting to verify secrets in |
connection |
the Connection that this came from, or null if this is being verified in isolation. |
true if the setting secrets are valid, false if they are not |