Skip to content

Commit a77b5c9

Browse files
authored
Merge pull request #11349 from nextcloud/backport/11282/stable28
[stable28] Document new API in OCP\Authentication
2 parents d001369 + 0165707 commit a77b5c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_28.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ Added APIs
162162

163163
* ``wasm-unsafe-eval`` is `supported by most browsers <https://caniuse.com/mdn-http_headers_content-security-policy_script-src_wasm-unsafe-eval>`_
164164
* 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)
165+
* ``OCP\Authentication\Token\IProvider::getToken`` to get a token by its token string id
166+
* ``OCP\Authentication\Token\IToken`` public interface for tokens returned by the function above. Please use those instead of things from ``OC`` namespace.
165167

166168

167169
Changed APIs

0 commit comments

Comments
 (0)