4

How do you implement oauth as a provider in c#?

There is a c# clas. For it, here http://oauth.net/code/ but I need to know how do I use it?

001
  • 62,807
  • 94
  • 230
  • 350

1 Answers1

5

If you're talking about a membership provider, there is a previous discussion here:

If you mean as a third-party API access provider, there is an example here:

Community
  • 1
  • 1
Turnkey
  • 9,266
  • 3
  • 27
  • 36
  • cool, btw as a provider who are the "Consumer key" and "Consumer secret" generated? – 001 Feb 24 '10 at 10:16
  • 1
    I don't think that is specified by OpenAuth, but it is advisable to generate a secret that is reasonably long and random. They key is often just a web address of the consumer or something else to make it easy to identify the consumer in your records. – Turnkey Feb 25 '10 at 00:22