![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@chapeaux/cpx-state
Advanced tools
= Chapeaux User Component
== Events
user-ready
- fires when the .user
object data is populateduser-update
- fires when the .user
object is updated== Usage
User data is always stored on the .user
property once it is
available.
=== Server-side or on-page
=== JSON Web Token
Requires that jwt_decode
library be available globally.
Available component properties:
jwt-cookie
: sets the cookie to parse for JWT datajwt-token
: sets the JWT token to parse for data=== Keycloak
Requires keycloak.js
to be available, and the following attributes to
be set with the appropriate values:
kc-url
- the Keycloak server urlkc-realm
- the Keycloak realmkc-client-id
- the Keycloak client IDAvailable component methods:
login()
: log in using the Keycloak configlogout()
: log out using the Keycloak configregister()
: send user to registration screen based on Keycloak configaccount()
: send user to account management screen based on Keycloak configtoken.createLoginUrl()
: creates URL to direct user to login screentoken.createLogoutUrl()
: creates URL to log user outAvailable component properties:
token
: the Keycloak object for authenticated users=== Scripts
FAQs
Chapeaux State Management Component
The npm package @chapeaux/cpx-state receives a total of 0 weekly downloads. As such, @chapeaux/cpx-state popularity was classified as not popular.
We found that @chapeaux/cpx-state demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.