public LiveProvider(IPersister <LiveToken> persister) { persister.NotNull("persister"); _persister = persister; var token = _persister.Load(); if (token != null) { _refreshTokenInfo = new RefreshTokenInfo(token.Value); } }
public DropboxProvider(IPersister <DropboxToken> persiter) { persiter.NotNull("persister"); _persister = persiter; var token = _persister.Load(); if (token != null) { _finalLogin = token.Value; } }