Example #1
0
		protected void Page_Load(object sender, EventArgs e)
		{
			// Verify storage credentials
			if(!Page.IsPostBack)
			{
				var verifier = new StorageCredentialsVerifier(GlobalSetup.Container);
				_credentialsWarningPanel.Visible = !verifier.VerifyCredentials();
			}

			_openIdLogin.Focus();
		}
        public void VerifyCredentials()
        {
            var verifier = new StorageCredentialsVerifier(GlobalSetup.Container);

            Assert.IsTrue(verifier.VerifyCredentials(), "Credentials should be verified");
        }