Skip to content

Commit ca5d9c2

Browse files
committed
Document new API in OCP\Authentication
Signed-off-by: Côme Chilliet <[email protected]>
1 parent 4c1668a commit ca5d9c2

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
@@ -144,6 +144,8 @@ Added APIs
144144

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

148150
Changed APIs
149151
^^^^^^^^^^^^

0 commit comments

Comments
 (0)