定制 berthott/laravel-tableau-direct-trust-token 二次开发

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

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

berthott/laravel-tableau-direct-trust-token

最新稳定版本:3.0.1

Composer 安装命令:

composer require berthott/laravel-tableau-direct-trust-token

包简介

A Laravel Tableau Direct Trust Token generator

README 文档

README

test workflow

Laravel-Tableau-Direct-Trust-Token

Create an API Token for a Tableau Cloud Direct Trust integration.

Requirements

For a Direct Trust connection to Tableau Cloud it is necessary to configure Direct Trust within Tableau.

Installation

$ composer require berthott/laravel-tableau-direct-trust-token

Usage

This package registers a tableau\token POST route that can be used to obtain a token, that can be used to connect to Tableau Cloud via Direct Trust. To generate the correct token you need to provide the Config Information and an optional user body parameter to alter the desired username with witch you want to authenticate with Tableau.

Options

To provide the config options use

$ php artisan vendor:publish --provider="berthott\Tableau\TableauDirectTrustTokenProvider" --tag="config"
  • defaultUser: the default username with witch you want to authenticate with Tableau. Defaults to env('TABLEAU_DEFAULT_USER')
  • secret: the Tableau secret. Defaults to env('TABLEAU_SECRET')
  • secretId: the Tableau secretId. Defaults to env('TABLEAU_SECRET_ID')
  • clientId: the Tableau clientId. Defaults to env('TABLEAU_CLIENT_ID')
  • prefix: Defines the route prefix. Defaults to api.
  • middleware: An array of all middlewares to be applied to all of the generated routes. Defaults to [].

Compatibility

Tested with Laravel 10.x.

License

See License File. Copyright © 2024 Jan Bladt.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-10