![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.
@vk-io/authorization
Advanced tools
VK-IO Authorization API - Separated module for authorization by login & password, and etc... ⚙️
Node.js 12.20.0 or newer is required
npm
(recommended)
npm i @vk-io/authorization
Yarn
yarn add @vk-io/authorization
pnpm
pnpm add @vk-io/authorization
import { CallbackService } from 'vk-io';
import { DirectAuthorization, officialAppCredentials } from '@vk-io/authorization';
const callbackService = new CallbackService();
const direct = new DirectAuthorization({
callbackService,
scope: 'all',
// Direct authorization is only available for official applications
...officialAppCredentials.android, // { clientId: string; clientSecret: string; }
// Or manually provide app credentials
// clientId: process.env.CLIENT_ID,
// clientSecret: process.env.CLIENT_SECRET,
login: process.env.LOGIN,
password: process.env.PASSWORD,
apiVersion: '5.131'
});
async function run() {
const response = await direct.run();
console.log('Token:', response.token);
console.log('Expires:', response.expires);
console.log('Email:', response.email);
console.log('User ID:', response.userId);
}
run().catch(console.error);
The module also supports ImplicitFlowUser
, ImplicitFlowGroup
and AccountVerification
FAQs
Separated module for authorization
The npm package @vk-io/authorization receives a total of 96 weekly downloads. As such, @vk-io/authorization popularity was classified as not popular.
We found that @vk-io/authorization demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.