定制 hansdeboeck/socialite-exactonline 二次开发

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

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

hansdeboeck/socialite-exactonline

Composer 安装命令:

composer require hansdeboeck/socialite-exactonline

包简介

Exact Online OAuth2 Provider for Laravel Socialite

README 文档

README

This package extends the laravel/socialite package. It allows to create a 'login with Exact Online' feature within minutes.

Installation

Use the steps below to install the package.

##1. Composer composer require hansdeboeck/socialite-exactonline

##2. Register the service provider

  • Remove the default SocialiteServiceProvider from your providers array in config/app.php
  • Add SocialiteProviders\Manager\ServiceProvider::class to your providers array in config/app.php

##3. Add an event and listener

Add the listener to the listen array in EventServiceProvider :

protected $listen = [
    ...
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        '\Michielfb\SocialiteExactonline\ExactonlineExtendsSocialite@handle',
    ],
    ...
];

##4. Register the client_id and client_secret Add a section to the array app/services.php. The base_url is optional. By default it will use the url for The Netherlands.

return [
    ...
    'exactonline' => [
        'client_id' => env('EXACTONLINE_CLIENT_ID'),
        'client_secret' => env('EXACTONLINE_CLIENT_SECRET'),
        'redirect' => env('EXACTONLINE_CALLBACK_URL'),
        'base_url' => env('EXACTONLINE_BASE_URL'),
    ],
    ....
];

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-11-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固