
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@chayns/uac-service
Advanced tools
With this package Uac groups can be requested and edited. The package works in the frontend as well as in the node backend. In the background, the package uses protobuf for communication with the uac-service.
With this package Uac groups can be requested and edited. The package works in the frontend as well as in the node backend. In the background, the package uses protobuf for communication with the uac-service.
npm install @chayns/uac-serviceimport { getAccessToken, getLanguage, getSite, getUser } from 'chayns-api';
export const client = new UacServiceClient({
getToken: async () => ((await getAccessToken()).accessToken || ""),
getDefaultSiteId: () => getSite().id,
logger: logger, // your chayns logger instance
getDefaultPersonId: () => getUser()?.personId || "",
getLanguage: () => getLanguage().active
});
npm install @chayns/uac-serviceexport const client = new UacServiceClient({
getApiToken: async () => accessToken,
logger: logger, // your chayns logger instance
});
These are just a few examples, there are many more functions.
const { id } = await client.createUserGroup({ showName: 'test name', users:['GER-TDNKN'], description: 'Beschreibung'});
const result = await client.getUserGroups({ countUsers: true });
const members = await client.getGroupMembers({ groupId: 1 });
await client.addUsersToGroup({ groupId: 1, members: [{personId: 'F69-1LT41'}] })
FAQs
With this package Uac groups can be requested and edited. The package works in the frontend as well as in the node backend. In the background, the package uses protobuf for communication with the uac-service.
We found that @chayns/uac-service demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.