Added "is_registered" method to provider client

This commit is contained in:
Jedrzej Stuczynski
2020-01-21 12:26:10 +00:00
parent ea383871ab
commit 2af18a85e5
@@ -111,4 +111,8 @@ impl ProviderClient {
Ok(parsed_response.auth_token)
}
pub fn is_registered(&self) -> bool {
self.auth_token.is_some()
}
}