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
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 toenv('TABLEAU_DEFAULT_USER')secret: the Tableau secret. Defaults toenv('TABLEAU_SECRET')secretId: the Tableau secretId. Defaults toenv('TABLEAU_SECRET_ID')clientId: the Tableau clientId. Defaults toenv('TABLEAU_CLIENT_ID')prefix: Defines the route prefix. Defaults toapi.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
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-10