{"id":18767493,"url":"https://github.com/codekandis/tiphy-authentication-integration","last_synced_at":"2025-12-09T17:30:14.495Z","repository":{"id":47440889,"uuid":"335183921","full_name":"codekandis/tiphy-authentication-integration","owner":"codekandis","description":"This library is an integration of `codekandis/authentication` into `codekandis/tiphy`.","archived":false,"fork":false,"pushed_at":"2022-08-10T22:49:47.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-29T06:44:22.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codekandis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-02T05:53:59.000Z","updated_at":"2021-11-08T09:35:56.000Z","dependencies_parsed_at":"2022-08-21T04:10:17.612Z","dependency_job_id":null,"html_url":"https://github.com/codekandis/tiphy-authentication-integration","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekandis%2Ftiphy-authentication-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekandis%2Ftiphy-authentication-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekandis%2Ftiphy-authentication-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekandis%2Ftiphy-authentication-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codekandis","download_url":"https://codeload.github.com/codekandis/tiphy-authentication-integration/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239671224,"owners_count":19677869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-07T19:07:37.290Z","updated_at":"2025-12-09T17:30:14.450Z","avatar_url":"https://github.com/codekandis.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codekandis/tiphy-authentication-integration\n\n[![Version][xtlink-version-badge]][srclink-changelog]\n[![License][xtlink-license-badge]][srclink-license]\n[![Minimum PHP Version][xtlink-php-version-badge]][xtlink-php-net]\n![Code Coverage][xtlink-code-coverage-badge]\n\nThis library is an integration of [`codekandis/authentication`][xtlink-github-codekandis-authentication] into [`codekandis/tiphy`][xtlink-github-codekandis-tiphy].\n\n## Index\n\n* [Installation](#installation)\n* [How to use](#how-to-use)\n\n## Installation\n\nInstall the latest version with\n\n```bash\n$ composer require codekandis/tiphy-authentication-integration\n```\n\n## How to use\n\nJust inject the [`AuthorizationHeaderKeyAuthenticationPreDispatcher`][srclink-authorization-header-key-authentication-pre-dispatcher] into the [`ActionDispatcher`][xtlink-github-codekandis-tiphy-action-dispatcher].\n\n```php\n\u003c?php declare( strict_types = 1 );\nnamespace Vendor\\Project;\n\nuse CodeKandis\\Tiphy\\Actions\\ActionDispatcher;\nuse CodeKandis\\TiphyAuthenticationIntegration\\Actions\\PreDispatchment\\Api\\AuthorizationHeaderKeyAuthenticationPreDispatcher;\n\n$routesConfiguration = /** ... */;\n$throwableHandler    = /** ... */;\n$usersRepository     = /** ... */;\n$preDispatcher       = new AuthorizationHeaderKeyAuthenticationPreDispatcher( $usersRepository );\n\n$actionDispatcher = new ActionDispatcher( $routesConfiguration, $preDispatcher, $throwableHandler );\n$actionDispatcher-\u003edispatch();\n```\n\n\n[xtlink-version-badge]: https://img.shields.io/badge/version-0.11.1-blue.svg\n[xtlink-license-badge]: https://img.shields.io/badge/license-MIT-yellow.svg\n[xtlink-php-version-badge]: https://img.shields.io/badge/php-%3E%3D%207.4-8892BF.svg\n[xtlink-code-coverage-badge]: https://img.shields.io/badge/coverage-0%25-red.svg\n[xtlink-php-net]: https://php.net\n[xtlink-github-codekandis-authentication]: https://github.com/codekandis/authentication\n[xtlink-github-codekandis-tiphy]: https://github.com/codekandis/tiphy\n[xtlink-github-codekandis-tiphy-action-dispatcher]: https://github.com/codekandis/tiphy/blob/master/src/Actions/ActionDispatcher.php\n\n[srclink-changelog]: ./CHANGELOG.md\n[srclink-license]: ./LICENSE\n[srclink-authorization-header-key-authentication-pre-dispatcher]: ./src/Actions/PreDispatchment/Api/AuthorizationHeaderKeyAuthenticationPreDispatcher.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekandis%2Ftiphy-authentication-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodekandis%2Ftiphy-authentication-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekandis%2Ftiphy-authentication-integration/lists"}