Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions | |
mustDisplayButton () | |
getUserFromData ($data) | |
canEditUser (?User $user=null) | |
Variables | |
trait | AdditionalLoginButtons |
$injectedCSSandJS = false | |
trait | UserProfileFields |
|
private |
Get the user object based on the ID found in the provided user form data
array | object | null | $data | The user form data |
Exception |
Références $data, $id, $user, class, elseif, Factory\getApplication(), Factory\getContainer(), et null.
|
private |
Should I allow this plugin to add a WebAuthn login button?
Do not add a WebAuthn login button if we are already logged in
Only display a button on HTML output
WebAuthn only works on HTTPS. This is a security-related limitation of the W3C Web Authentication specification, not an issue with this plugin :)
Références $document, Joomla\CMS\Application\getIdentity(), Uri\getInstance(), et null.
|
private |
trait AdditionalLoginButtons |
trait UserProfileFields |
Add extra fields in the User Profile page.
This class only injects the custom form fields. The actual interface is rendered through JFormFieldWebauthn.