C# Класс FacebookSharp.FacebookAuthenticationResult

Показать файл Открыть проект

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

Метод Описание
FacebookAuthenticationResult ( ) : System
FacebookAuthenticationResult ( object>.IDictionary data ) : System
FacebookAuthenticationResult ( string>.IDictionary data ) : System
FacebookAuthenticationResult ( string accessToken, long expiresIn, string errorReasonText ) : System
Parse ( string url ) : FacebookAuthenticationResult
Parse ( string url, FacebookSettings facebookSettings ) : FacebookAuthenticationResult
ValidateSignedRequest ( string signedRequest, string applicationSecret, object>.IDictionary &jsonObject ) : bool

Validates facebook signed_request using the applicationSecret.

Приватные методы

Метод Описание
FromUrlBase64String ( string Base64UrlSafe ) : byte[]
SignWithHmac ( byte dataToSign, byte keyBody ) : byte[]
ToUrlBase64String ( byte Input ) : string

Описание методов

FacebookAuthenticationResult() публичный Метод

public FacebookAuthenticationResult ( ) : System
Результат System

FacebookAuthenticationResult() публичный Метод

public FacebookAuthenticationResult ( object>.IDictionary data ) : System
data object>.IDictionary
Результат System

FacebookAuthenticationResult() публичный Метод

public FacebookAuthenticationResult ( string>.IDictionary data ) : System
data string>.IDictionary
Результат System

FacebookAuthenticationResult() публичный Метод

public FacebookAuthenticationResult ( string accessToken, long expiresIn, string errorReasonText ) : System
accessToken string
expiresIn long
errorReasonText string
Результат System

Parse() публичный статический Метод

public static Parse ( string url ) : FacebookAuthenticationResult
url string
Результат FacebookAuthenticationResult

Parse() публичный статический Метод

public static Parse ( string url, FacebookSettings facebookSettings ) : FacebookAuthenticationResult
url string
facebookSettings FacebookSettings
Результат FacebookAuthenticationResult

ValidateSignedRequest() публичный статический Метод

Validates facebook signed_request using the applicationSecret.
public static ValidateSignedRequest ( string signedRequest, string applicationSecret, object>.IDictionary &jsonObject ) : bool
signedRequest string /// The signed request. ///
applicationSecret string /// The application secret. ///
jsonObject object>.IDictionary /// The json object if validation passes, else null. ///
Результат bool