veloren_voxygen_credentialstore/
fake.rs1use super::{CredentialError, CredentialStatus, CredentialStore, Credentials};
2
3#[allow(dead_code)]
4#[derive(Clone, Default)]
5pub struct SecretService;
6
7impl CredentialStore for SecretService {
8 fn is_supported(&self) -> bool { false }
9
10 async fn status(&self) -> CredentialStatus { CredentialStatus::Disabled }
11
12 async fn load(
13 &self,
14 _auth_server: String,
15 _username: String,
16 ) -> Result<String, CredentialError> {
17 Err(CredentialError::Connection)
18 }
19
20 async fn save(&self, _credentials: Credentials) -> Result<(), CredentialError> {
21 Err(CredentialError::Connection)
22 }
23}