mirror of
https://github.com/nextcloud/server.git
synced 2026-03-25 20:03:23 -04:00
docs(HTTP): Add proper docs for CORS attribute
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
bbba8b4fe2
commit
11feecf772
1 changed files with 3 additions and 1 deletions
|
|
@ -12,7 +12,9 @@ namespace OCP\AppFramework\Http\Attribute;
|
|||
use Attribute;
|
||||
|
||||
/**
|
||||
* Attribute for controller methods that can also be accessed by not logged-in user
|
||||
* Attribute for controller methods that can also be accessed by other websites.
|
||||
* See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS for an explanation of the functionality and the security implications.
|
||||
* See https://docs.nextcloud.com/server/latest/developer_manual/digging_deeper/rest_apis.html on how to implement it in your controller.
|
||||
*
|
||||
* @since 27.0.0
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue