C# 클래스 Glipho.OAuth.Providers.OAuthServiceProvider

A service provider for web applications.
파일 보기 프로젝트 열기: Glipho/oauth-providers

공개 메소드들

메소드 설명
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