Skip to content

Commit

Permalink
info updated
Browse files Browse the repository at this point in the history
  • Loading branch information
s3b4stian committed Dec 11, 2023
1 parent 02717ae commit 66652d0
Showing 1 changed file with 77 additions and 10 deletions.
87 changes: 77 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
> **_NOTE:_** Code porting to PHP 8.1 ongoing.
# About
This package provide a concrete implementation for authentication interfaces and
This package provide a concrete implementation for the authentication interfaces and
for the authorization interfaces of the framework.

Mappers use as persistent storage mysql through php pdo.
Expand All @@ -31,7 +31,7 @@ Mappers use as persistent storage mysql through php pdo.
* PHP >= 8.1
* PDO extension
* MySQL extension
* linna/framework v0.27.0
* linna/framework v0.28.0|next

# Installation
With composer:
Expand All @@ -40,18 +40,85 @@ composer require linna/auth-mapper-mysql
```

# Package Content
Implementation of framework interfaces:

### Interfaces from Framework
* `Linna\Authentication\EnhancedAuthenticationMapperInterface`
* `Linna\Authentication\UserMapperInterface`
* `Linna\Authorization\EnhancedUserMapperInterface`
* `Linna\Authorization\PermissionExtendedMapperInterface`
* `Linna\Authorization\PermissionMapperInterface`
* `Linna\Authorization\RoleExtendedMapperInterface`
* `Linna\Authorization\RoleMapperInterface`
* `Linna\Authorization\RoleToUserMapperInterface`
* `Linna\Authorization\UserExtendedMapperInterface`
* `Linna\Authorization\UserMapperInterface`

As:
### Implementation
* `Linna\Authentication\EnhancedAuthenticationMapper`
* `Linna\Authentication\UserMapper`
* `Linna\Authorization\EnhancedUserMapper`
- 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`
* `Linna\Authorization\RoleToUserMapper`
- 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()

0 comments on commit 66652d0

Please sign in to comment.