Skip to content

pmvc-plugin/auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Latest Unstable Version Build Status License Total Downloads

auth

Login Process

call loginBegin -> ask third party server -> call loginFinish -> handle authorization result

Check Login status

  1. isAuthorized
  2. isRegisted

How work

1. go to index

  • Gen return url
  • Ask third party remote server
  • Third party server back return result to return url

2. Return url

  • Check third party server run result
  • if succcess redirect to success page else go to error page

3. Success page or Error page

Install with Composer

1. Download composer

2. Install by composer.json or use command-line directly

2.1 Install by composer.json

  • vim composer.json
{
    "require": {
        "pmvc-plugin/auth": "dev-master"
    }
}
  • php composer.phar install

2.2 Or use composer command-line

  • php composer.phar require pmvc-plugin/auth

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages