C# Class TweetHarbor.OAuth.TwitterOAuthClient

Inheritance: IOAuthSignInClient
显示文件 Open project: sethwebster/TweetHarbor

Public Methods

Method Description
GetAuthenticationEndpoint ( string returnToUrl ) : Uri
TwitterOAuthClient ( ITweetHarborTwitterService service, ITweetHarborDbContext database ) : System

Private Methods

Method Description
IOAuthSignInClient ( System.Web.HttpRequestBase Request ) : Models.User
MergeUsers ( User destinationUser, User fromUser, TwitterUser user ) : void
TwitterCreateOrUpdateAccountIfNeeded ( TweetSharp.OAuthAccessToken accessToken, TwitterUser user, User returnUser ) : User

Method Details

GetAuthenticationEndpoint() public method

public GetAuthenticationEndpoint ( string returnToUrl ) : Uri
returnToUrl string
return System.Uri

TwitterOAuthClient() public method

public TwitterOAuthClient ( ITweetHarborTwitterService service, ITweetHarborDbContext database ) : System
service ITweetHarborTwitterService
database ITweetHarborDbContext
return System