May 30, 2012 at 6:27 AM


I was wanting to implement Authentication in a similar manner to how you are intercepting exceptions. I was thinking this authentication method could be called inside Handle method and would have access to the current context (which also may have the session set). I would prob use a new attribute to specify that authentication needs to happen, and this might include some extra information.

Can you see any problem with this?

May 30, 2012 at 8:08 AM
Edited May 30, 2012 at 8:09 AM

I think it is good to add support in for authentication. I need to see a little more of what you are talking about before I can really comment. I would however make sure that you do not do anything that would prevent the project from working with sockets, or a stand alone server. If I am following you correctly, you are thinking of registering a delegate that does the authentication, similar to the exception handler? I think it is a good approach. 

I welcome the help, and am glad the project has interested you.

Sep 19, 2012 at 5:53 AM

Leethal, do you have any code for this that you want to share?