An OAuth Consumer for .NET 2.0
OAuthServer Class
NamespacesExtremeSwank.OAuthOAuthServer
Server-side OAuth 1.0 implementation.
Declaration Syntax
C#Visual BasicVisual C++
public static class OAuthServer
Public NotInheritable Class OAuthServer
public ref class OAuthServer abstract sealed
Members
All MembersMethods



IconMemberDescription
AuthenticateUser(HttpRequest, IServerTokenStore)
Authenticate a user HTTP Request.

AuthenticateUser(HttpListenerRequest, IServerTokenStore)
Authenticate a user HTTP Request.

AuthorizeRequestToken(String, String, array<String>[]()[], IServerTokenStore)
Authorize a Request Token, thereby generating an associated Access Token.

BuildAndStoreRequestToken(String, NameValueCollection, IServerTokenStore)
Create a new Request Token using the given arguments, and store it using the supplied token storage.

GenerateRandomValue()()()
Generate a psuedo-random string value (SHA-256 hash).

GetConfiguredStorageProvider()()()
Get the configured Token Storage provider from the current web.config file. Should only be used in ASP.NET environments.

HandleTokenRequest(HttpRequest, HttpResponse, ServerRequestMode, IServerTokenStore)
Process and respond to a token request using HttpRequest and HttpResponse objects.

HandleTokenRequest(HttpListenerRequest, HttpListenerResponse, ServerRequestMode, IServerTokenStore)
Process and respond to a token request using HttpListenerRequest and HttpListenerResponse objects.

PemToCertificate(String)
Convert a public certificate in PEM text blob format to an X509 certificate.

RetrieveAccessTokenUsingRequestToken(String, IServerTokenStore)
Using the provided Request Token, retrieve the associated Access Token, if one has been authorized.

Inheritance Hierarchy
Object
OAuthServer

Assembly: ExtremeSwank.OAuth (Module: ExtremeSwank.OAuth) Version: 1.2.0.0 (1.2.0.0)