承接 free2er/jwt-authenticator-bundle 相关项目开发

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

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

free2er/jwt-authenticator-bundle

Composer 安装命令:

composer require free2er/jwt-authenticator-bundle

包简介

JWT Authenticator Bundle

README 文档

README

JWT Authenticator Bundle

Installation

This component can be installed with the Composer dependency manager.

  1. Install Composer

  2. Install the component as a dependency of your project

     composer require free2er/jwt-authenticator-bundle
    
  3. Enable the bundle

<?php

// config/bundles.php
return [
    // ...
    Free2er\Jwt\JwtAuthenticatorBundle::class => ['all' => true],
    // ...
];
  1. Configure the path to the public key
# config/packages/jwt_authenticator.yaml
jwt_authenticator:
    key: file://%kernel.project_dir%/path/to/public.key
  1. Configure the firewall
# config/packages/security.yaml
security:
    providers:
        jwt:
            id: Free2er\Jwt\Service\UserProvider
    firewalls:
        # ...
        main:
            pattern: ^/api
            stateless: true
            provider: jwt
            guard:
                authenticators:
                    - Free2er\Jwt\Service\Authenticator
        # ...
  1. Done!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-04-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固