Download the PHP package jhonmike/apigility-auth without Composer
On this page you can find all versions of the php package jhonmike/apigility-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package apigility-auth
ApiAuth
php composer.phar require jhonmike/apigility-auth:dev-master
Config Oauth2
Create config/autoload/user.global.php
<?php
return array(
'db' => array(
'adapters' => array(
'Db\\Adapter' => array(
'driver' => 'Pdo_Mysql',
'dsn' => 'mysql:dbname=database_name;host=localhost',
'username' => 'root',
'password' => '',
'driver_options' => array(
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\''
),
),
),
)
);
Create config/autoload/oauth2.global.php
<?php
return array(
'zf-oauth2' => array(
'db' => array(
'dsn' => 'mysql:dbname=database_name;host=localhost',
'username' => 'root',
'password' => '',
),
'storage' => 'ZF\\OAuth2\\Adapter\\PdoAdapter',
'allow_implicit' => false,
'enforce_state' => true,
'access_lifetime' => 3600,
),
);
All versions of apigility-auth with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.23
zendframework/zendframework Version >=2.3.2,<3.0.0
zfcampus/zf-apigility Version ~1.0
2ends/apigility-base Version 0.0.1
zendframework/zendframework Version >=2.3.2,<3.0.0
zfcampus/zf-apigility Version ~1.0
2ends/apigility-base Version 0.0.1
The package jhonmike/apigility-auth contains the following files
Loading the files please wait ....