定制 gabyquiles/auth-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

gabyquiles/auth-bundle

Composer 安装命令:

composer require gabyquiles/auth-bundle

包简介

Provide the verification for jwt from AWS Cognito

README 文档

README

This bundle decode and verifies a AWS JWT to allow users authenticated with AWS Cognito to access your services.

Installation

composer require gabyquiles/auth-bundle

Configuration

Add config/gaby_quiles_auth_jws.yaml

gaby_quiles_auth_jws:
  token_ttl: 3601
  clock_skew: 1
  pool_id: '%pool_id%'
  region: '%aws_region%'

Mocking

When you are testing your application you want to isolate your application. In those cases you can use override the provider in /config/services_test.yaml for the TestProvider:

services:
  gaby_quiles_auth_jws.aws_jwt_provider:
    class: GabyQuiles\Auth\Providers\TestProvider

This provider will receive a base64 encoded json token like:
{"username": "admin","exp": 1570899818,"iat": 1570896218,"email": "user@example.com"}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2019-10-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固