////////////////////////////////////////////////////////////
 // OnAuthenticate: Custom Authentication modules can override
 //             this method to create a custom IPrincipal object from
 //             a DefaultIdentity
 void OnAuthenticate(DefaultAuthenticationEventArgs e) {
     ////////////////////////////////////////////////////////////
     // If there are event handlers, invoke the handlers
     if (_eventHandler != null) {
         _eventHandler(this, e);
     }
 }
 private void OnAuthenticate(DefaultAuthenticationEventArgs e)
 {
     if (this._eventHandler != null)
     {
         this._eventHandler(this, e);
     }
 }
 private void OnAuthenticate(DefaultAuthenticationEventArgs e)
 {
     if (this._eventHandler != null)
     {
         this._eventHandler(this, e);
     }
 }
Ejemplo n.º 4
0
 ////////////////////////////////////////////////////////////
 // OnAuthenticate: Custom Authentication modules can override
 //             this method to create a custom IPrincipal object from
 //             a DefaultIdentity
 void OnAuthenticate(DefaultAuthenticationEventArgs e)
 {
     ////////////////////////////////////////////////////////////
     // If there are event handlers, invoke the handlers
     if (_eventHandler != null)
     {
         _eventHandler(this, e);
     }
 }
Ejemplo n.º 5
0
		private void Authenticate (object sender, DefaultAuthenticationEventArgs e)
		{
		}
		public void Constructor_Deny_Unrestricted ()
		{
			DefaultAuthenticationEventArgs daea = new DefaultAuthenticationEventArgs (context);
			Assert.IsNotNull (daea.Context, "Context");
		}