承接 fawno/ip-authentication 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fawno/ip-authentication

最新稳定版本:0.0.3

Composer 安装命令:

composer require fawno/ip-authentication

包简介

IP Authenticator for CakePHP 4.3

README 文档

README

GitHub license GitHub tag (latest SemVer) Packagist Packagist Downloads GitHub issues GitHub forks GitHub stars

IP Authenticator for CakePHP 4 Authentication plugin

This plugin provides an IP Authenticator for CakePHP 4 authentication plugin.

Table of contents

Requirements

TOC

Installation

Install this plugin into your application using composer:

  • Add fawno/ip-authentication package to your project:
      composer require fawno/ip-authentication
  • Load the IPAuthenticator in your Application.php:
    use IPAuthenticator\Authenticator\IPAuthenticator;
  • Load the IPAuthenticator in your Authentication Service (Application.php):
    // Load the authenticators. Session should be first.
    $service->loadAuthenticator('Authentication.Session');
    
    $service->loadAuthenticator(IPAuthenticator::class, [
        'auth' => [
            '127.0.0.1' => [
                'username' => 'localhost',
                'displayname' => 'Local Host',
                'dn' => [],
                'memberof' => [
                    'Group' => 'Group',
                ],
            ],
        ],
    ]);

TOC

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-19