auth

Package
github.com/cs3org/reva/v3/internal/http/interceptors/auth
Source
internal/http/interceptors/auth · Go reference

Enable it

It is always active. Its settings go in:

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

Configuration

KeyTypeDefaultDescription
priorityint-source
gatewaysvcstring-source
realmstring-source
credentials_by_user_agentmap[string]string-source
credential_chain[]string-source
credential_strategiesmap[string]map[string]any-source
signed_url_chain[]string-source
signed_url_strategiesmap[string]map[string]any-source
token_strategy_chain[]string-source
token_strategiesmap[string]map[string]any-source
token_managerstring-source
token_managersmap[string]map[string]any-source
token_writerstring-source
token_writersmap[string]map[string]any-source
machine_secretstring-Secret used for the gateway to authenticate a user when using a signed URL source
Includes the settings of authcache.Config.