public OAuthToken() { var spotManRegistry = PersistenceHelper.GetKeys(); AccessToken = spotManRegistry[nameof(AccessToken)]; RefreshToken = spotManRegistry[nameof(RefreshToken)]; Expiry = DateTimeOffset.Parse(spotManRegistry[nameof(Expiry)]); }
public OAuthToken() { var spotManRegistry = PersistenceHelper.GetKeys(); AccessToken = spotManRegistry[nameof(AccessToken)]; RefreshToken = spotManRegistry[nameof(RefreshToken)]; Expiry = DateTimeOffset.Parse(spotManRegistry[nameof(Expiry)]); }