承接 fittinq/symfony-authenticator 相关项目开发

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

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

fittinq/symfony-authenticator

最新稳定版本:13.0.0

Composer 安装命令:

composer require fittinq/symfony-authenticator

包简介

README 文档

README

Shield of your service with the authenticator library

Install via composer

composer require fittinq\symfony-authenticator

Configure bundle

# config/bundles.php
<?php

return [
    // ...
    Fittinq\Symfony\Authenticator\SymfonyAuthenticatorBundle::class => ['all' => true],
];

.env

Configure the following .env.local settings

AUTHENTICATOR_HOST_URL=dev.auth.hip.fittinq.com
AUTHENTICATOR_KEY_PUB=/var/www/app/auth.key.pub

Setup security.yaml

security:
  enable_authenticator_manager: true

  providers:
    user_provider:
      id: Fittinq\Symfony\Authenticator\Authenticator\JwtUserProvider

  firewalls:
    unsecure:
      pattern: ^/(health|authenticator-callback)
      security: false
    secure:
      provider: user_provider
      custom_authenticators:
#        Depending on your problem, you can add either authenticator.
#        - Fittinq\Symfony\Authenticator\Authenticator\CookieAuthenticator
#        - Fittinq\Symfony\Authenticator\Authenticator\HeaderAuthenticator
          
  access_control:
    - {path: '^/users', roles: ROLE_ADMIN_AUTHENTICATOR}


统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-08-16