Server-side OAuth 1.0 implementation.
| C# | Visual Basic | Visual C++ |
public static class OAuthServer
Public NotInheritable Class OAuthServer
public ref class OAuthServer abstract sealed
| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
| 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.
|
| Object | |
| OAuthServer | |