C# Класс Open.Core.Identity.OpenIdAuthentication

Helper methods for authenticating a user against an OpenId provider.
Показать файл Открыть проект

Открытые методы

Метод Описание
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