validate

Function validate 

Source
pub async fn validate(provider: &str, key: &str) -> ValidationOutcome
Expand description

Validate key for provider. Makes one outbound HTTPS request. Returns a non-valid outcome (never errors the RPC) so the caller can surface a structured message and stay in the entry state.