Skip to content

achertovsky/lib-oauth2-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User

Lib called to reduce hassle in projects with oauth2. Expected to be convenient solution for the purpose.

usage

To check usage cases, please, refer to tests/unit/Oauth2Test.php, tests/unit/GoogleAuthenticatorTest.php. Those tests explain how Oauth2 should be used in your application.

Development

install env

docker build -t lib-oauth2-client .
docker run --rm -it -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-oauth2-client composer i

testing

docker run --rm -it -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-oauth2-client vendor/bin/phpunit