C# Класс Glipho.OAuth.Providers.OAuthServiceProvider

A service provider for web applications.
Показать файл Открыть проект

Открытые методы

Метод Описание
AuthorizePendingRequestToken ( string username ) : void

Authorize the pending request token.

AuthorizePendingRequestTokenAsWebResponse ( string username ) : DotNetOpenAuth.Messaging.OutgoingWebResponse

Authorize the pending request token as a web response.

OAuthServiceProvider ( Database consumers, Database issuedTokens, Database nonces ) : System

Initialises a new instance of the OAuthServiceProvider class.

Приватные методы

Метод Описание
AuthorizePendingRequestTokenAndGetResponse ( string username ) : DotNetOpenAuth.OAuth.Messages.UserAuthorizationResponse

Authorize the pending request token and get the response.

EnsureInitialized ( ) : void

Initializes the serviceProvider field if it has not yet been initialized.

Описание методов

AuthorizePendingRequestToken() публичный Метод

Authorize the pending request token.
public AuthorizePendingRequestToken ( string username ) : void
username string The username to authorise with request token with.
Результат void

AuthorizePendingRequestTokenAsWebResponse() публичный Метод

Authorize the pending request token as a web response.
public AuthorizePendingRequestTokenAsWebResponse ( string username ) : DotNetOpenAuth.Messaging.OutgoingWebResponse
username string The username to authorise with request token with.
Результат DotNetOpenAuth.Messaging.OutgoingWebResponse

OAuthServiceProvider() публичный Метод

Initialises a new instance of the OAuthServiceProvider class.
public OAuthServiceProvider ( Database consumers, Database issuedTokens, Database nonces ) : System
consumers Database The consumers database client.
issuedTokens Database The issued tokens database client.
nonces Database The nonces database client.
Результат System