{"id":21868343,"url":"https://github.com/pmvc-plugin/auth","last_synced_at":"2026-05-18T11:33:51.633Z","repository":{"id":57043034,"uuid":"41551580","full_name":"pmvc-plugin/auth","owner":"pmvc-plugin","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-31T21:41:48.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T16:04:49.844Z","etag":null,"topics":["authentication"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmvc-plugin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-28T14:26:45.000Z","updated_at":"2021-03-31T21:41:50.000Z","dependencies_parsed_at":"2022-08-23T23:40:26.561Z","dependency_job_id":null,"html_url":"https://github.com/pmvc-plugin/auth","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pmvc-plugin/auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmvc-plugin","download_url":"https://codeload.github.com/pmvc-plugin/auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmvc-plugin%2Fauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33177014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication"],"created_at":"2024-11-28T05:12:39.414Z","updated_at":"2026-05-18T11:33:51.599Z","avatar_url":"https://github.com/pmvc-plugin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.pugx.org/pmvc-plugin/auth/v/stable)](https://packagist.org/packages/pmvc-plugin/auth) \n[![Latest Unstable Version](https://poser.pugx.org/pmvc-plugin/auth/v/unstable)](https://packagist.org/packages/pmvc-plugin/auth) \n[![Build Status](https://travis-ci.org/pmvc-plugin/auth.svg?branch=master)](https://travis-ci.org/pmvc-plugin/auth)\n[![License](https://poser.pugx.org/pmvc-plugin/auth/license)](https://packagist.org/packages/pmvc-plugin/auth)\n[![Total Downloads](https://poser.pugx.org/pmvc-plugin/auth/downloads)](https://packagist.org/packages/pmvc-plugin/auth) \n\nauth\n===============\n\n## Login Process\ncall loginBegin -\u003e \nask third party server -\u003e \ncall loginFinish -\u003e \nhandle authorization result\n\n## Check Login status \n1. isAuthorized\n2. isRegisted\n\n## How work\n### 1. go to index\n   * Gen return url\n   * Ask third party remote server\n   * Third party server back return result to return url\n### 2. Return url\n   * Check third party server run result\n   * if succcess redirect to success page else go to error page\n\n### 3. Success page or Error page\n\n## Install with Composer\n### 1. Download composer\n   * mkdir test_folder\n   * curl -sS https://getcomposer.org/installer | php\n\n### 2. Install by composer.json or use command-line directly\n#### 2.1 Install by composer.json\n   * vim composer.json\n```\n{\n    \"require\": {\n        \"pmvc-plugin/auth\": \"dev-master\"\n    }\n}\n```\n   * php composer.phar install\n\n#### 2.2 Or use composer command-line\n   * php composer.phar require pmvc-plugin/auth\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmvc-plugin%2Fauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmvc-plugin%2Fauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmvc-plugin%2Fauth/lists"}