ocmshareprovider

Package
github.com/cs3org/reva/v3/internal/grpc/services/ocmshareprovider
Source
internal/grpc/services/ocmshareprovider · Go reference

Enable it

Add this table to the revad configuration file:

[grpc.services.ocmshareprovider]
# settings below
This package has no documentation yet. Add a package doc comment or a README.md in internal/grpc/services/ocmshareprovider, then run make gen-doc.

Configuration

config

KeyTypeDefaultDescription
driverstring"json"source
driversmap[string]map[string]any-source
embedded_driverstring"webdav"source
embedded_driversmap[string]map[string]any-source
client_timeoutint10source
client_insecurebool-source
gatewaysvcstringshared gatewaysvcsource
provider_domainstringThe same domain registered in the provider authorizersource
webdav_endpointstring-source
webapps[]webapp-Web applications offered on outbound OCM shares, each with a name and the media types it opens. The webapp protocol is offered only if this list is not empty. source
webapp_endpointstring-Absolute URL of the webapp opener. Required when webapps is not empty. source
signing_keystring-Path to the PEM file of the Ed25519 private key that signs the shares that this server sends. Use the key of the wellknown ocmprovider. source

webapp

KeyTypeDefaultDescription
namestring-source
media_types[]string-source