Authentication and Extended Permissions

Note: There are currently only helpers for ASP.NET MVC applications. ASP.NET server controls are planned to provide similar functionality for a future release for WebForms applications.

Render a link requiring an authenticated session

<%= FbIFrame.ActionLink("/demo/admin", "Admin", true) %>
When the user clicks, they will be asynchronously prompted to authenticate (if they aren't already) before being directed to the target page.

Render a link requiring an extended permission:

<%= FbIFrame.ActionLink("/demo/status", "Status", "status_update")%>
When the user clicks, they will be asynchronously prompted to authenticate (if they aren't already) and grant the specified extended permission before being directed to the target page.

Last edited Feb 16, 2010 at 6:32 PM by DanielSchaffer, version 2

Comments

No comments yet.