Skip to main content

resolve_login

Function resolve_login 

Source
pub fn resolve_login(
    discovered: Option<&CloudSettings>,
    supplied_domain: &str,
    supplied_client_id: &str,
) -> Result<(String, String), String>
Expand description

The Cognito domain and client id to sign in with: the published ones when the cloud has a document, else what the caller supplied (the build’s compiled values). Both of a pair come from the same source, never mixed.