Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

auth_provider.php
Go to the documentation of this file.
1 <?php
11 class ezpRestAuthProvider implements ezpRestProviderInterface
12 {
16 public function getRoutes()
17 {
18 $routes = array(
19 'basicAuth' => new ezpMvcRailsRoute( '/http-basic-auth', 'ezpRestAuthController', 'basicAuth' ),
20 'oauthLogin' => new ezpMvcRailsRoute( '/oauth/login', 'ezpRestAuthController', 'oauthRequired' ),
21 'oauthToken' => new ezpMvcRailsRoute( '/oauth/token', 'ezpRestOauthTokenController', array( 'http-post' => 'handleRequest' ))
22 );
23 return $routes;
24 }
25
31 public function getViewController()
32 {
33 return new ezpRestApiViewController();
34 }
35 }
36 ?>
ezpMvcRailsRoute
Definition: rails.php:12
ezpRestAuthProvider
Definition: auth_provider.php:12
ezpRestAuthProvider\getRoutes
getRoutes()
Definition: auth_provider.php:16
ezpRestAuthProvider\getViewController
getViewController()
Definition: auth_provider.php:31
ezpRestProviderInterface
Definition: interfaces/rest_provider.php:13
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.