Property | Type | Description | |
---|---|---|---|
$model |
Method | Description | |
---|---|---|
__construct ( |
||
authenticationAction ( ) | ||
mappingAction ( ) | Mapping action for v2 Since Apigility 1.1 |
Method | Description | |
---|---|---|
authVersion1 ( Zend\Http\Request $request ) : ZF\ContentNegotiation\ViewModel | ZF\ApiProblem\ApiProblemResponse | Zend\Stdlib\ResponseInterface | Manage the authentication API version 1 | |
authVersion2 ( Zend\Http\Request $request ) : ZF\ContentNegotiation\ViewModel | ZF\ApiProblem\ApiProblemResponse | Zend\Http\Response | Manage the authentication API version 2 | |
getRouteForEntity ( |
Determine the route to use for a given entity | |
mappingAuthentication ( Zend\Http\Request $request ) : ZF\ContentNegotiation\ViewModel | ZF\ApiProblem\ApiProblemResponse | Map the authentication adapter to a module Since Apigility 1.1 |
Method | Description | |
---|---|---|
createAuthenticationAdapter ( array $params ) : ZF\ApiProblem\ApiProblemResponse | Zend\Http\Response | Create a new authentication adapter | |
createAuthenticationMapResult ( string $adapter ) : ZF\ContentNegotiation\ViewModel | Create a view model detailing the authentication adapter mapped | |
createCollection ( mixed $collection ) : ZF\ContentNegotiation\ViewModel | Create a collection response | |
createEntity ( mixed $entity ) : ZF\ContentNegotiation\ViewModel | Create and return an entity view model | |
fetchAuthenticationCollection ( ) : ZF\ContentNegotiation\ViewModel | Fetch a collection of authentication adapters | |
fetchAuthenticationEntity ( string $adapter ) : ZF\ApiProblem\ApiProblemResponse | ZF\ContentNegotiation\ViewModel | Fetch an authentication entity | |
removeAuthenticationAdapter ( string $adapter ) : ZF\ApiProblem\ApiProblemResponse | Zend\Http\Response | Remove an existing authentication adapter | |
removeAuthenticationMap ( string $module, string | integer $version ) : ZF\ApiProblem\ApiProblemResponse | Zend\Stdlib\ResponseInterface | Remove the authentication map for a given module/version pair. | |
updateAuthenticationAdapter ( string $adapter, array $params ) : ZF\ApiProblem\ApiProblemResponse | ZF\ContentNegotiation\ViewModel | Update an existing authentication adapter | |
updateAuthenticationMap ( array $params, string $module, string | integer $version ) : ZF\ContentNegotiation\ViewModel | ZF\ApiProblem\ApiProblemResponse | Attempt to save an authentication map. |
public __construct ( |
||
$model |
protected authVersion1 ( Zend\Http\Request $request ) : ZF\ContentNegotiation\ViewModel | ZF\ApiProblem\ApiProblemResponse | Zend\Stdlib\ResponseInterface | ||
$request | Zend\Http\Request | |
return | ZF\ContentNegotiation\ViewModel | ZF\ApiProblem\ApiProblemResponse | Zend\Stdlib\ResponseInterface |
protected authVersion2 ( Zend\Http\Request $request ) : ZF\ContentNegotiation\ViewModel | ZF\ApiProblem\ApiProblemResponse | Zend\Http\Response | ||
$request | Zend\Http\Request | |
return | ZF\ContentNegotiation\ViewModel | ZF\ApiProblem\ApiProblemResponse | Zend\Http\Response |
protected getRouteForEntity ( |
||
$entity | ||
return | string |
protected mappingAuthentication ( Zend\Http\Request $request ) : ZF\ContentNegotiation\ViewModel | ZF\ApiProblem\ApiProblemResponse | ||
$request | Zend\Http\Request | |
return | ZF\ContentNegotiation\ViewModel | ZF\ApiProblem\ApiProblemResponse |