rest.ini [Authentication]
The block [Authentication] of settings/rest.ini, with 4 setting(s).
Never edit settings/rest.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/rest.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/rest.ini.append.phpfor one siteaccess,extension/<extension>/settings/rest.ini.append.phpin an extension (read when the extension is active).
RequireAuthentication
Default: enabled.
# settings/override/rest.ini.append.php
[Authentication]
RequireAuthentication=enabled
*/ ?>AuthenticationStyle
Default: ezpRestOauthAuthenticationStyle.
# settings/override/rest.ini.append.php
[Authentication]
AuthenticationStyle=ezpRestOauthAuthenticationStyle
*/ ?>RequireHTTPS
AuthenticationStyle=ezpRestBasicAuthStyle
Default: disabled.
# settings/override/rest.ini.append.php
[Authentication]
RequireHTTPS=disabled
*/ ?>DefaultUserID
Default user to authenticate when authentication is disabled or the route used doesn't need authentication
If left empty, site.ini/[UserSettings].AnonymousUserID will be used
Default: empty.
# settings/override/rest.ini.append.php
[Authentication]
DefaultUserID=
*/ ?>Related
Generated by ./console exp:help:examples from settings/rest.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.