Skip to content

Commit

Permalink
Merge pull request #11349 from nextcloud/backport/11282/stable28
Browse files Browse the repository at this point in the history
[stable28] Document new API in OCP\Authentication
  • Loading branch information
come-nc authored Dec 4, 2023
2 parents d001369 + 0165707 commit a77b5c9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,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
Expand Down

0 comments on commit a77b5c9

Please sign in to comment.