C# Class TweetHarbor.OAuth.AppHarborOAuthClient

Inheritance: IOAuthSignInClient
Exibir arquivo Open project: sethwebster/TweetHarbor

Public Methods

Method Description
AppHarborOAuthClient ( string clientId, string secret, ITweetHarborDbContext database ) : System
GetAuthenticationEndpoint ( string returnToUrl ) : Uri
OAuthCallback ( System.Web.HttpRequestBase Request ) : User

Private Methods

Method Description
AppHarborCreateOrUpdateAccountIfNeeded ( string AccessToken, AppHarbor user, User returnUser ) : User

Method Details

AppHarborOAuthClient() public method

public AppHarborOAuthClient ( string clientId, string secret, ITweetHarborDbContext database ) : System
clientId string
secret string
database ITweetHarborDbContext
return System

GetAuthenticationEndpoint() public method

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

OAuthCallback() public method

public OAuthCallback ( System.Web.HttpRequestBase Request ) : User
Request System.Web.HttpRequestBase
return TweetHarbor.Models.User