Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

Public Member Functions | List of all members
ezpRestAuthController Class Reference
Inheritance diagram for ezpRestAuthController:

## Public Member Functions
| doBasicAuth ()
| doOauthRequired ()

## Detailed Description

Handles authentication with the REST interface.

Definition at line 15 of file controllers/auth.php.

## Member Function Documentation

## ◆ doBasicAuth()

ezpRestAuthController::doBasicAuth | ( |  | ) |

Definition at line 17 of file controllers/auth.php.

References $res.

## ◆ doOauthRequired()

ezpRestAuthController::doOauthRequired | ( |  | ) |

Definition at line 24 of file controllers/auth.php.

References $res, $status, ezpOauthRequired\DEFAULT_REALM, ezpOauthErrorType\EXPIRED_TOKEN, ezpOauthErrorType\INSUFFICIENT_SCOPE, ezpOauthErrorType\INVALID_REQUEST, ezpOauthErrorType\INVALID_TOKEN, ezpOauthFilter\STATUS_TOKEN_EXPIRED, ezpOauthFilter\STATUS_TOKEN_INSUFFICIENT_SCOPE, ezpOauthFilter\STATUS_TOKEN_INVALID, and ezpOauthFilter\STATUS_TOKEN_UNAVAILABLE.

The documentation for this class was generated from the following file:

- controllers/auth.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.