Class MetaClient
Assembly: MetaClient.dll
public sealed class MetaClient : IMetaClient
Properties
Declaration
public ICryptoProvider CryptoProvider { get; }
Property Value
Declaration
public bool IsolatedMode { get; set; }
Property Value
Declaration
public Logger Logger { get; }
Property Value
Methods
Declaration
public EncryptionInfo ApplyContingencyGroup(string sessionKey)
Parameters
Type |
Name |
Description |
String |
sessionKey |
|
Returns
Declaration
public void askForAsset(string jsonOrUrn)
Parameters
Type |
Name |
Description |
String |
jsonOrUrn |
|
Declaration
public bool canCreateKey(string kind)
Parameters
Type |
Name |
Description |
String |
kind |
|
Returns
Declaration
public bool CanRecoveryBePerformed()
Returns
Declaration
public bool canUseUnmanagedAccount()
Returns
Declaration
public void ChangeEmail(string value)
Parameters
Type |
Name |
Description |
String |
value |
|
Declaration
public void ChangeName(string value)
Parameters
Type |
Name |
Description |
String |
value |
|
Declaration
public void ChangePassword(string oldPassword, string newPassword)
Parameters
Declaration
public void changesWereNotSaved()
Declaration
public void ChangeUrl(string value)
Parameters
Type |
Name |
Description |
String |
value |
|
Declaration
public void CreateAccount(string email, string name, string password)
Parameters
Declaration
public void CreateSatelliteServerAccount(string email, string name, string url, string password, string licenseRequest)
Parameters
Declaration
public byte[] DecryptV2(string data)
Parameters
Type |
Name |
Description |
String |
data |
|
Returns
Declaration
public byte[] DecryptV3(string data)
Parameters
Type |
Name |
Description |
String |
data |
|
Returns
Declaration
public void DeleteAppDatum(string kind, string name)
Parameters
Declaration
public string EncryptAccountPassword(string accountPassword)
Parameters
Type |
Name |
Description |
String |
accountPassword |
|
Returns
Exceptions
Declaration
public string GET(string suffix)
Parameters
Type |
Name |
Description |
String |
suffix |
|
Returns
Declaration
public ApplicationStatus GetApplicationStatus(string kind, string version, string referenceUrn)
Parameters
Returns
Declaration
public string GetArchiveDecryptionPassword(string jsonOrUrn)
Parameters
Type |
Name |
Description |
String |
jsonOrUrn |
|
Returns
Declaration
public IEnumerable<string> GetClusterServers()
Returns
Declaration
public string GetEntitlement(string name, string defaultValue)
Parameters
Returns
Declaration
public IManagedAesKey GetManagedAesKey(string serialized)
Parameters
Type |
Name |
Description |
String |
serialized |
|
Returns
Declaration
public IEnumerable<ISingleAssetManager> GetManagedAesKeys()
Returns
Declaration
public ISet<Notification> GetNotifications()
Returns
Declaration
[CanBeNull]
public string getPassword()
Returns
Declaration
public string getPrefix()
Returns
Declaration
public string GetPublicKey()
Returns
Declaration
public TimeSpan GetSyncInterval()
Returns
Declaration
public string getUserEmail()
Returns
Declaration
Returns
Declaration
Returns
Declaration
public string getUserName()
Returns
Declaration
public string getUserURN()
Returns
Declaration
public IList<KnownUser> getXPIDs()
Returns
Declaration
public bool isAccountAllowed()
Returns
Declaration
public bool IsAccountManaged(string email)
Parameters
Type |
Name |
Description |
String |
email |
|
Returns
Declaration
public bool isAuthenticated()
Returns
Declaration
public bool isDeviceAllowed()
Returns
Declaration
Returns
Exceptions
Declaration
Returns
Declaration
public bool isManagedAccount()
Returns
Declaration
public bool isOfflineAccessExpired()
Returns
Declaration
public bool isRegistered()
Returns
Declaration
public bool isSatellite()
Returns
Declaration
public void Login(string email, string password, string oldPassword)
Parameters
Declaration
public void LoginImplicitAccount()
Exceptions
Declaration
public void LoginManagedAccount(string emailWithHost, string accountPassword)
Parameters
Type |
Name |
Description |
String |
emailWithHost |
|
String |
accountPassword |
|
Declaration
public void LoginManagedAccountEncPass(string emailWithHost, string encryptedAccountPassword)
Parameters
Type |
Name |
Description |
String |
emailWithHost |
|
String |
encryptedAccountPassword |
|
Declaration
Declaration
public IList<KnownUser> lookupUsers(IList<string> emails)
Parameters
Returns
Declaration
public void migrate(string email, string password, string accountPassword, bool mfaExpected)
Parameters
POST(String, String)
Declaration
public string POST(string suffix, string text)
Parameters
Returns
Declaration
public void ProcessIsolatedUpdate(string blob)
Parameters
Type |
Name |
Description |
String |
blob |
|
Declaration
public string RecoverPassword(string recoveryToken, bool mfaExpected, string recoveryCipher)
Parameters
Returns
Declaration
public void RequestAccess(string serialized)
Parameters
Type |
Name |
Description |
String |
serialized |
|
Declaration
public void requestEmailVerification()
Declaration
public void requestMFARemoval(string email, string password)
Parameters
Exceptions
Declaration
public void RequestRecoveryEmail(string email)
Parameters
Type |
Name |
Description |
String |
email |
|
Declaration
public void RespondToNotification(string urn, string action)
Parameters
Declaration
public void RestoreAll(IDictionary<string, string> serials)
Parameters
Declaration
public void SaveAppData(string kind, string name, string value)
Parameters
Declaration
public IDictionary<string, string> SerializeAll(bool incremental)
Parameters
Type |
Name |
Description |
Boolean |
incremental |
|
Returns
Declaration
public void setMFAToken(string token)
Parameters
Type |
Name |
Description |
String |
token |
|
Declaration
public void SetServer(string url)
Parameters
Type |
Name |
Description |
String |
url |
|
Declaration
public void SetStat(string kind, string qualifier, long value)
Parameters
Declaration
public bool shouldPersistCredentials()
Returns
Declaration
public string Sign(string data)
Parameters
Type |
Name |
Description |
String |
data |
|
Returns
Declaration
public void SwitchToCentral(string prefix)
Parameters
Type |
Name |
Description |
String |
prefix |
|
switchToDomain(String)
Declaration
public bool switchToDomain(string domainOrEmail)
Parameters
Type |
Name |
Description |
String |
domainOrEmail |
|
Returns
Declaration
Declaration
public EncryptionInfo WrapSessionKeyWithSmartkey(string smartkeyUrn, string sessionKey)
Parameters
Returns
Implements
Extension Methods