You are here

function _fb_oauth_state in Drupal for Facebook 7.4

2 calls to _fb_oauth_state()
fb_auth_get_token in ./fb.module
When user returns from fb_auth process, $_REQUEST might contain token details.
fb_server_auth_url in ./fb.module
Build a URL where a user can be sent to authorize a facebook app and afterwards get an access_token. Uses facebook's server-side auth mechanism.

File

./fb.module, line 124

Code

function _fb_oauth_state() {

  // Is session name sufficent and safe for this?
  return 'fb_' . session_name();
}