Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

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

## Public Member Functions
| setup (ezcMvcRequest $request)
| authenticate (ezcAuthentication $auth, ezcMvcRequest $request)
Public Member Functions inherited from ezpRestAuthenticationStyle
| __construct ()
| setUser (eZUser $user)
| getUser ()
Public Member Functions inherited from ezpRestAuthenticationStyleInterface
| getUser ()
| setUser (eZUser $user)

## Additional Inherited Members
Protected Attributes inherited from ezpRestAuthenticationStyle
| $user
| $prefix

## Detailed Description

Definition at line 12 of file basic_auth.php.

## Member Function Documentation

## ◆ authenticate()

ezpRestBasicAuthStyle::authenticate | ( | ezcAuthentication | $auth,
|  | ezcMvcRequest | $request
| ) |  |

Method to be run inside the runRequestFilters hook inside MvcTools.

This method should take care of seting up proper redirections to MvcTools

Returns
  eZUser|ezcMvcInternalRedirect

Implements ezpRestAuthenticationStyleInterface.

Definition at line 34 of file basic_auth.php.

## ◆ setup()

ezpRestBasicAuthStyle::setup | ( | ezcMvcRequest | $request | ) |

Setting up the state to allow for later authentcation checks.

Parameters

  ezcMvcRequest | $request |

Returns
  void

Implements ezpRestAuthenticationStyleInterface.

Definition at line 14 of file basic_auth.php.

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

- basic_auth.php

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