Document new API in OCP\Authentication

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet
2023-11-13 15:21:03 +01:00
parent 4c1668ac78
commit ca5d9c2b14

View File

@@ -144,6 +144,8 @@ Added APIs
* ``wasm-unsafe-eval`` is `supported by most browsers <https://caniuse.com/mdn-http_headers_content-security-policy_script-src_wasm-unsafe-eval>`_
* WebAssembly compilation and execution in worker threads is not affected by this directive (browsers allow compilation and execution of WebAssembly in worker threads by default)
* ``OCP\Authentication\Token\IProvider::getToken`` to get a token by its token string id
* ``OCP\Authentication\Token\IToken`` public interface for tokens returned by the function above. Please use those instead of things from ``OC`` namespace.
Changed APIs
^^^^^^^^^^^^