Added "is_registered" method to provider client
This commit is contained in:
@@ -111,4 +111,8 @@ impl ProviderClient {
|
||||
|
||||
Ok(parsed_response.auth_token)
|
||||
}
|
||||
|
||||
pub fn is_registered(&self) -> bool {
|
||||
self.auth_token.is_some()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user