linna/auth-mapper-pgsql 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

linna/auth-mapper-pgsql

Composer 安装命令:

composer require linna/auth-mapper-pgsql

包简介

Postgres mapper implementation of the authentication and authorization interfaces.

README 文档

README

Linna Logo
Linna Auth Mapper Pgsql Logo

Tests PDS Skeleton PHP 8.1

NOTE: Code porting to PHP 8.1 ongoing.

About

This package provide a concrete implementation for the authentication interfaces and for the authorization interfaces of the framework.

Mappers use as persistent storage postgresql through php pdo.

Requirements

  • PHP >= 8.1
  • PDO extension
  • Postgresql extension
  • linna/framework v0.28.0|next

Installation

With composer:

composer require linna/auth-mapper-pgsql

Package Content

Interfaces from Framework

  • Linna\Authentication\EnhancedAuthenticationMapperInterface
  • Linna\Authorization\PermissionExtendedMapperInterface
  • Linna\Authorization\PermissionMapperInterface
  • Linna\Authorization\RoleExtendedMapperInterface
  • Linna\Authorization\RoleMapperInterface
  • Linna\Authorization\UserExtendedMapperInterface
  • Linna\Authorization\UserMapperInterface

Implementation

  • Linna\Authentication\EnhancedAuthenticationMapper
    • deleteOldLoginAttempts()
    • fetchAll()
    • fetchAttemptsWithSameIp()
    • fetchAttemptsWithSameSession()
    • fetchAttemptsWithSameUser()
    • fetchById()
    • fetchLimit()
  • Linna\Authorization\PermissionExtendedMapper
  • Linna\Authorization\PermissionMapper
    • fetchAll()
    • fetchById()
    • fetchByName()
    • fetchByRole()
    • fetchByRoleId()
    • fetchByRoleName()
    • fetchByUser()
    • fetchByUserId()
    • fetchByUserName()
    • fetchLimit()
    • fetchUserPermissionHashTable()
    • permissionExistById()
    • permissionExistByName()
  • Linna\Authorization\RoleExtendedMapper
    • addUser()
    • addUserById()
    • addUserByName()
    • grantPermission()
    • grantPermissionById()
    • grantPermissionByName()
    • removeUser()
    • removeUserById()
    • removeUserByName()
    • revokePermission()
    • revokePermissionById()
    • revokePermissionByName()
  • Linna\Authorization\RoleMapper
    • fetchAll()
    • fetchById()
    • fetchByName()
    • fetchByPermission()
    • fetchByPermissionId()
    • fetchByPermissionName()
    • fetchByUser()
    • fetchByUserId()
    • fetchByUserName()
    • fetchLimit()
  • Linna\Authorization\UserExtendedMapper
    • addRole()
    • addRoleById()
    • addRoleByName()
    • grantPermission()
    • grantPermissionById()
    • grantPermissionByName()
    • removeRole()
    • removeRoleById()
    • removeRoleByName()
    • revokePermission()
    • revokePermissionById()
    • revokePermissionByName()
  • Linna\Authorization\UserMapper
    • fetchAll()
    • fetchById()
    • fetchByName()
    • fetchByPermission()
    • fetchByPermissionId()
    • fetchByPermissionName()
    • fetchByRole()
    • fetchByRoleId()
    • fetchByRoleName()
    • fetchLimit()

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-09-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固