Using OAuth with the enterprize library

25 views
Skip to first unread message

Sean Farrow

unread,
Jul 18, 2012, 3:54:29 PM7/18/12
to dotnet...@googlegroups.com

Hi:

I am looking at using .net oauth with the enterprize library.

Has anybody actively done this/is anybody working on such a thing?

Cheers

Sean.

Werner Strydom

unread,
Jul 18, 2012, 3:58:02 PM7/18/12
to dotnet...@googlegroups.com
Hi Sean,

Are you referring to the Microsoft Enterprise Library? I'm using it for logging, encryption, caching and so forth. What do you want to know in relation to OAuth?

Werner

Sean Farrow

unread,
Jul 18, 2012, 11:33:36 PM7/18/12
to dotnet...@googlegroups.com

Hi:

Yes, I am , have you used it for ganting access to resources in your application.

I’m writing an api and am wondering whether I can use the Enterprize Library to do this, as we’re using the library to do everything else pretty much.

Any pointers appreciated.

Cheers

Sean.

--
You received this message because you are subscribed to the Google Groups "DotNetOpenAuth" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dotnetopenid/-/yWkhb2W-CqMJ.
To post to this group, send email to dotnet...@googlegroups.com.
To unsubscribe from this group, send email to dotnetopenid...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dotnetopenid?hl=en.

David Christiansen

unread,
Jul 19, 2012, 4:20:43 AM7/19/12
to dotnet...@googlegroups.com
Sean,
Ent Lib is a blast from the past for me (I had to refer back to some of my blog posts from 2005) but assuming you are talking about a web application I seem to recall that you can use it (by writing HTTPModule) with your forms authentication. 

Seeing as you are talking authentication I would recommend that you look at OpenID rather than OAuth. I am sure Andrew will correct me if I am wrong but as I see it OAuth is more for Authorisation (Permission to do something) whereas OpenID is Authentication (Know your user) - and from memory the ent-lib security aspect is more about authentication than authorisation.

A quick search found this -  http://adamgetchell.blogspot.co.uk/2005/03/enterprise-library-authentication.html  which should give you a leader.

Even if it is possible Sean I would give some consideration to whether or not adding EntLib into the mix here (when it comes to authentication) is worth the additional complexity - that is of course unless you already have your auth store and roles already set up within entlib .
-- 
The future belongs to the few of us still willing to get our hands dirty.
Reply all
Reply to author
Forward
0 new messages