onedrop/assetsource-box

Neos 资产源盒.com

安装: 25

依赖: 0

建议者: 0

安全: 0

星标: 1

关注者: 3

分支: 0

开放问题: 0

类型:neos-package

1.0.0 2019-02-28 15:43 UTC

This package is auto-updated.

Last update: 2024-08-29 05:00:27 UTC


README

在box.com开发者门户中注册OAuth2客户端应用程序。

指定此为重定向URI

https://mysite.com/neos/assetsource/box/authenticate/receivetoken

或者如果您在本地上开发,可以使用60分钟有效的开发令牌,不需要有效的OAuth2重定向。

按照如下方式填写您刚刚获得的凭证

Neos:
  Media:
    assetSources:
      box_com:
        assetSource: 'Onedrop\AssetSource\Box\AssetSource\BoxAssetSource'
        assetSourceOptions:
          label: Box.com
          folder: folder id
          authenticationUrl: https://api.box.com/oauth2/token
          clientId: the client id
          clientSecret: the client seecret
          enterpriseID: 0
          devToken: dev token
          useDevToken: false