C# 클래스 Open.Core.Identity.OpenIdAuthentication

Helper methods for authenticating a user against an OpenId provider.
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL

공개 메소드들

메소드 설명
GetAuthInfo ( string apiKey, string token ) : string

Calls the 'auth_info' method on the JanRain server and parses the response.

See: https://rpxnow.com/relying_parties/listbox-me/setup_tokenurl#steps

GetAuthenticationProfile ( string apiKey, string token ) : AuthenticationProfile

Calls the 'auth_info' method on the JanRain server and parses the response.

See: https://rpxnow.com/relying_parties/listbox-me/setup_tokenurl#steps

ToProfile ( string profileXml ) : AuthenticationProfile

Parses the given 'auth_info' XML into an 'AuthenticationProfile' object.

비공개 메소드들

메소드 설명
GetError ( dynamic root ) : AuthenticationException

메소드 상세

GetAuthInfo() 공개 정적인 메소드

Calls the 'auth_info' method on the JanRain server and parses the response.
See: https://rpxnow.com/relying_parties/listbox-me/setup_tokenurl#steps
public static GetAuthInfo ( string apiKey, string token ) : string
apiKey string The API key of the JanRain account. This can be retrieved from the account page. See link below.
token string /// The token returned by the initial redirect to the JanRain server in the POST data of the return call.
/// To retrieve this use: Request["token"] ///
리턴 string

GetAuthenticationProfile() 공개 정적인 메소드

Calls the 'auth_info' method on the JanRain server and parses the response.
See: https://rpxnow.com/relying_parties/listbox-me/setup_tokenurl#steps
public static GetAuthenticationProfile ( string apiKey, string token ) : AuthenticationProfile
apiKey string The API key of the JanRain account. This can be retrieved from the account page. See link below.
token string /// The token returned by the initial redirect to the JanRain server in the POST data of the return call.
/// To retrieve this use: Request["token"] ///
리턴 AuthenticationProfile

ToProfile() 공개 정적인 메소드

Parses the given 'auth_info' XML into an 'AuthenticationProfile' object.
public static ToProfile ( string profileXml ) : AuthenticationProfile
profileXml string The raw XML string.
리턴 AuthenticationProfile