AbstractAuth
in package
Base abstract authorization class.
Table of Contents
- $api : Controller
- setApi() : void
- Set api controller.
- authenticate() : bool
- Authenticate function.
- setServer() : self
- Set server data.
Properties
$api
protected
Controller
$api
Controller instance
Methods
setApi()
Set api controller.
public
setApi(Controller $api) : void
Parameters
- $api : Controller
Return values
void —authenticate()
Authenticate function.
protected
abstract authenticate(string $realm) : bool
Parameters
- $realm : string
Tags
Return values
bool —setServer()
Set server data.
protected
abstract setServer() : self