public TokenManager(IStableDataStorage dataStorage) { _dataStorage = dataStorage; _tokenDict = JsonConvert.DeserializeObject <Dictionary <Uri, AccessToken> >(_dataStorage.ReadToken()); }
public VcapCredentialManager(Uri targetUri, IStableDataStorage stableDataStorage) { _currentTarget = targetUri; _tokenManager = new TokenManager(stableDataStorage); }
public VcapClient(string targetUrl, IStableDataStorage stableDataStorage) : this(stableDataStorage) { Target(targetUrl); }
public VcapClient(Uri targetUri, IStableDataStorage stableDataStorage) : this(stableDataStorage) { InitializationCredentialManager(targetUri); }
private VcapClient(IStableDataStorage stableDataStorage) { _stableDataStorage = stableDataStorage; }
public ApplicationProvider(VcapCredentialManager credentialManager, IStableDataStorage stableDataStorage) : this(credentialManager) { StableDataStorage = stableDataStorage; }