PHP Class ZF\OAuth2\Factory\AuthControllerFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Afficher le fichier Open project: zfcampus/zf-oauth2 Class Usage Examples

Méthodes publiques

Méthode Description
__invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : AuthController
createService ( Zend\ServiceManager\ServiceLocatorInterface $controllers, null | string $name = null, null | string $requestedName = null ) : AuthController

Private Methods

Méthode Description
getOAuth2ServerFactory ( Interop\Container\ContainerInterface $container ) : callable Retrieve the OAuth2\Server factory.
marshalApiProblemErrorResponse ( Interop\Container\ContainerInterface $container ) : boolean Determine whether or not to render API Problem error responses.

Method Details

__invoke() public méthode

public __invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : AuthController
$container Interop\Container\ContainerInterface
$requestedName string
$options array
Résultat ZF\OAuth2\Controller\AuthController

createService() public méthode

public createService ( Zend\ServiceManager\ServiceLocatorInterface $controllers, null | string $name = null, null | string $requestedName = null ) : AuthController
$controllers Zend\ServiceManager\ServiceLocatorInterface
$name null | string
$requestedName null | string
Résultat ZF\OAuth2\Controller\AuthController