Property | Type | Description | |
---|---|---|---|
EmptyParams | string>.Dictionary |
Property | Type | Description | |
---|---|---|---|
GetSignedRequest | |||
ParseSignedRequest | |||
StripAwayProhibitedKeys | string | ||
ToFacebookSession | |||
ValidateSession |
Method | Description | |
---|---|---|
Authenticate ( [ context ) : bool |
Authenticates current request. Returns
|
|
CanvasAuthContext ( [ bindings ) : System |
Initializes a new CanvasAuthContext object with specified bindings.
|
|
GetLoginUrl ( |
See IAuthContext.GetLoginUrl(Uri, Dictionary{String, String}).
|
|
GetLoginUrl ( |
See IAuthContext.GetLoginUrl(Uri, Dictionary{String, String}).
|
|
GetLoginUrl ( |
See IAuthContext.GetLoginUrl(Uri, LoginParams).
|
|
GetLogoutUrl ( |
See IAuthContext.GetLogoutUrl
|
|
GetLogoutUrl ( |
See IAuthContext.GetLogoutUrl
|
|
RedirectFromIFrame ( [ context, [ url ) : void |
Generates and writes to response a javascript code to redirect to a url from iframe so that the url will be in browser's address bar. Calling the method completes current request.
|
|
ResolveCanvasPageUrl ( [ relativeUrl ) : string |
Generates absolute url for a relative url on facebook application canvas (e.g. http://apps.facebook.com/graphdotnet/default.aspx).
|
|
ResolveSiteUrl ( [ relativeUrl ) : string |
Generates absolute url for a relative url on the site (e.g. http://localhost/graph.net/default.aspx).
|
Method | Description | |
---|---|---|
GetSignedRequest ( |
||
ParseSignedRequest ( string signedRequest ) : |
||
StripAwayProhibitedKeys ( |
||
ToFacebookSession ( |
||
ValidateSession ( |
public Authenticate ( [ context ) : bool | ||
context | [ | the current request context information. |
return | bool |
public CanvasAuthContext ( [ bindings ) : System | ||
bindings | [ | Application facebook bindings: appid, secret, site url, canvas page. |
return | System |
public GetLoginUrl ( |
||
nextUrl | ||
return | string |
public GetLoginUrl ( |
||
nextUrl | ||
@params | string>.Dictionary | |
return | string |
public GetLoginUrl ( |
||
nextUrl | ||
@params | ||
return | string |
public GetLogoutUrl ( |
||
nextUrl | ||
return | string |
public GetLogoutUrl ( |
||
nextUrl | ||
@params | string>.Dictionary | |
return | string |
public static RedirectFromIFrame ( [ context, [ url ) : void | ||
context | [ | Http context the |
url | [ | an url to redirect to. |
return | void |
public ResolveCanvasPageUrl ( [ relativeUrl ) : string | ||
relativeUrl | [ | a relative url to convert to absolute (e.g. ~/default.aspx). |
return | string |
public ResolveSiteUrl ( [ relativeUrl ) : string | ||
relativeUrl | [ | a relative url to convert to absolute (e.g. ~/default.aspx). |
return | string |