Documentation

AbstractAuth
in package

HTTP Authentication base class.

This class provides some common functionality for the various base classes.

Tags
copyright

Copyright (C) fruux GmbH (https://fruux.com/)

author

Evert Pot (http://evertpot.com/)

license

http://sabre.io/license/ Modified BSD License

Table of Contents

$realm  : string
Authentication realm.
$request  : RequestInterface
Request object.
$response  : ResponseInterface
Response object.
__construct()  : mixed
Creates the object.
getRealm()  : string
Returns the HTTP realm.
requireLogin()  : mixed
This method sends the needed HTTP header and statuscode (401) to force the user to login.

Properties

Methods

getRealm()

Returns the HTTP realm.

public getRealm() : string
Return values
string

requireLogin()

This method sends the needed HTTP header and statuscode (401) to force the user to login.

public abstract requireLogin() : mixed
Return values
mixed

Search results