![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@bandwidth/mfa
Advanced tools
Readme
Note: As of version 3.0.0, this package has been upgraded to TypeScript
OS | Node |
---|---|
Windows 2016 | 12, 14, 16 |
Windows 2019 | 12, 14, 16 |
Ubuntu 20.04 | 12, 14, 16 |
Ubuntu 22.04 | 12, 14, 16 |
npm install @bandwidth/mfa
import { Client, MFAController } from '@bandwidth/mfa';
const client = new Client({
basicAuthUserName: "username",
basicAuthPassword: "password"
});
const controller = new MFAController(client);
const accountId = "12345";
var from = "+15554443333";
var to = "+15553334444";
var applicationId = "3-a-b-c";
var scope = "scope";
var digits = 6;
var message = "Your temporary {NAME} {SCOPE} code is {CODE}";
var requestBody = {
from: from,
to: to,
applicationId: applicationId,
scope: scope,
digits: digits,
message: message
};
await controller.voiceTwoFactor(accountId, requestBody);
//request verification
const code = '123456'; //this is the user input to validate
const expirationTimeInMinutes = 3
var verifyBody = {
to: to,
applicationId: applicationId,
scope: scope,
code: code,
expirationTimeInMinutes: expirationTimeInMinutes
}
var verifyMfaResponse = await controller.verifyTwoFactor(accountId, verifyBody);
console.log(verifyMfaResponse.result.valid);
This package can be used with Node >= 10
Documentation for this package can be found at https://dev.bandwidth.com/sdks/node.html
Information for credentials for this package can be found at https://dev.bandwidth.com/guides/accountCredentials.html
FAQs
Bandwidth's Two-Factor Authentication service
The npm package @bandwidth/mfa receives a total of 62 weekly downloads. As such, @bandwidth/mfa popularity was classified as not popular.
We found that @bandwidth/mfa demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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 now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.