承接 dv-team/ms-entra-auth 相关项目开发

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

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

dv-team/ms-entra-auth

Composer 安装命令:

composer require dv-team/ms-entra-auth

包简介

A entra id auth helper

README 文档

README

Setup details

https://www.adminlabs.de/anmeldung-mit-microsoft-azuread-php-anwendung/

01 02 03
04 05 06

PHP-DI:

return [
    /* ... */
    EntraIDEndpoints::class => autowire()
        ->constructorParameter('authorizationEndpoint', 'https://login.microsoftonline.com/<id>/oauth2/v2.0/authorize')
        ->constructorParameter('tokenEndpoint', 'https://login.microsoftonline.com/<id>/oauth2/v2.0/token'),
    
    EntraIDAuthFactory::class => autowire(EntraIDAuthFactory::class)
        ->constructorParameter('landingPageUri', 'https://<host>/entra-id-login.html'),
    
    EntryIDAuthClient::class => factory(function (EntraIDAuthFactory $factory, Container $container) {
        /** @var string $clientId */
        $clientId = $container->get('microsoft.entra-id.client-id');
    
        /** @var string $clientSecret */
        $clientSecret = $container->get('microsoft.entra-id.client-secret');
    
        return $factory->createAuthClient($clientId, $clientSecret);
    }),
    /* ... */
];

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2025-02-27