PreCheck pre-validates the credential without sending an actual request for validation: check uniqueness (if appropriate), format, etc Returns normalized credential prefixed with an appropriate namespace prefix.
(cred string, params map[string]any)
| 25 | // check uniqueness (if appropriate), format, etc |
| 26 | // Returns normalized credential prefixed with an appropriate namespace prefix. |
| 27 | PreCheck(cred string, params map[string]any) (string, error) |
| 28 | |
| 29 | // Request sends a request for validation to the user. Returns true if it's a new credential, |
| 30 | // false if it re-sent request for an existing unconfirmed credential. |
no outgoing calls
no test coverage detected