function feeds_oauth_menu in Feeds OAuth 6
Same name and namespace in other branches
- 7 feeds_oauth.module \feeds_oauth_menu()
Implementation of hook_menu().
File
- ./
feeds_oauth.module, line 36
Code
function feeds_oauth_menu() {
$items['feeds/oauth/authenticate'] = array(
'title' => 'OAuth authentication',
'type' => MENU_CALLBACK,
'page callback' => 'feeds_oauth_authenticate',
'access callback' => TRUE,
);
$items['feeds/oauth/callback'] = array(
'title' => 'OAuth callback',
'type' => MENU_CALLBACK,
'page callback' => 'feeds_oauth_callback',
'access callback' => TRUE,
);
$items['feeds/oauth2/authenticate'] = array(
'title' => 'OAuth 2.0 authentication',
'type' => MENU_CALLBACK,
'page callback' => 'feeds_oauth2_authenticate',
'access callback' => TRUE,
);
$items['feeds/oauth2/callback'] = array(
'title' => 'OAuth 2.0 callback',
'type' => MENU_CALLBACK,
'page callback' => 'feeds_oauth2_callback',
'access callback' => TRUE,
);
return $items;
}