Apache2::REST::AppAuth - Base class for application authentication


Returns a new instance of this class.

If you override this, remember it is called without arguments by the framework.


Override this if you want to initialise this plugin with properties accessible through the Apache2::Request

Called by the framework like this:

    $this->init($req) ;


Implement this to let the Application authentifier decide if the application can access the API or not.

Please set resp->status() and resp->message() ;

Returns true if authorized. False otherwise.

Called like this by the framework:

$this->authorize($req , $resp ) ;