C# 클래스 Rock.Security.ExternalAuthentication.Twitter

상속: AuthenticationComponent
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
Authenticate ( HttpRequest request, string &username, string &returnUrl ) : System.Boolean

Authenticates the specified request.

Authenticate ( UserLogin user, string password ) : bool

Authenticates the user based on user name and password

ChangePassword ( UserLogin user, string oldPassword, string newPassword, string &warningMessage ) : bool

Changes the password.

EncodePassword ( UserLogin user, string password ) : string

Encodes the password.

GenerateLoginUrl ( HttpRequest request ) : Uri

Generates the login URL.

GetTwitterUser ( dynamic twitterUser, string accessToken = "" ) : string

Gets the name of the Twitter user.

ImageUrl ( ) : String

Gets the URL of an image that should be displayed.

IsReturningFromAuthentication ( HttpRequest request ) : System.Boolean

Tests the Http Request to determine if authentication should be tested by this authentication provider.

RequestToken ( string redirectUri ) : void

Gets the request token.

SetPassword ( UserLogin user, string password ) : void

Sets the password.

비공개 메소드들

메소드 설명
GetRedirectUrl ( HttpRequest request ) : string

Gets the redirect URL.

메소드 상세

Authenticate() 공개 메소드

Authenticates the specified request.
public Authenticate ( HttpRequest request, string &username, string &returnUrl ) : System.Boolean
request HttpRequest The request.
username string The username.
returnUrl string The return URL.
리턴 System.Boolean

Authenticate() 공개 메소드

Authenticates the user based on user name and password
public Authenticate ( UserLogin user, string password ) : bool
user UserLogin The user.
password string The password.
리턴 bool

ChangePassword() 공개 메소드

Changes the password.
public ChangePassword ( UserLogin user, string oldPassword, string newPassword, string &warningMessage ) : bool
user UserLogin The user.
oldPassword string The old password.
newPassword string The new password.
warningMessage string The warning message.
리턴 bool

EncodePassword() 공개 메소드

Encodes the password.
public EncodePassword ( UserLogin user, string password ) : string
user UserLogin The user.
password string The password.
리턴 string

GenerateLoginUrl() 공개 메소드

Generates the login URL.
public GenerateLoginUrl ( HttpRequest request ) : Uri
request HttpRequest Forming the URL to obtain user consent
리턴 System.Uri

GetTwitterUser() 공개 정적인 메소드

Gets the name of the Twitter user.
public static GetTwitterUser ( dynamic twitterUser, string accessToken = "" ) : string
twitterUser dynamic The Twitter user.
accessToken string The access token.
리턴 string

ImageUrl() 공개 메소드

Gets the URL of an image that should be displayed.
public ImageUrl ( ) : String
리턴 String

IsReturningFromAuthentication() 공개 메소드

Tests the Http Request to determine if authentication should be tested by this authentication provider.
public IsReturningFromAuthentication ( HttpRequest request ) : System.Boolean
request HttpRequest The request.
리턴 System.Boolean

RequestToken() 공개 메소드

Gets the request token.
public RequestToken ( string redirectUri ) : void
redirectUri string The redirect URI.
리턴 void

SetPassword() 공개 메소드

Sets the password.
public SetPassword ( UserLogin user, string password ) : void
user UserLogin The user.
password string The password.
리턴 void