pub fn check_reauth_target( account: &IdentityAccount, provider: &str, ) -> Result<(), String>
Refuse to re-authorize account as provider unless it is a keychain OAuth account of that provider.
account
provider