![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.
@blinkmobile/bm-identity
Advanced tools
Provides easy management of authenication for our CLI via a single identity.
npm install @blinkmobile/bm-identity --save
const BlinkMobileIdentity = require('@blinkmobile/bm-identity');
const blinkMobileIdentity = new BlinkMobileIdentity();
If no LoginOptions are passed, a browser based login process will start. This is how users can login using a social account e.g. Google.
login (options: LoginOptions) => Promise{String}
interface LoginOptions {
username? : String|Boolean, // Can also pass true, and username will be prompted for
password? : String, // Will be prompted for password if username is truthy
storeJwt? : Boolean, // Set to true to store jwt on local file system, defaults to false
refreshToken? : Boolean, // Set to true will request a refresh token as well as an access token
}
blinkMobileIdentity.login()
.then(jwt => {
// Use jwt access token.
});
storeJwt
Optiontrue
, will use @blinkmobile/blinkmrc User Config to store on local file system for later use.logout () => Promise
blinkMobileIdentity.logout();
To create an AccessToken
using BlinkM Deployment Keys or retrieve the AccessToken
stored after a successful login:
If the following environment variables are set:
BLINKM_ACCESS_KEY
BLINKM_SECRET_KEY
These will be used to create an AccessToken
getAccessToken () => Promise{string}
blinkMobileIdentity.getAccessToken()
.then(jwt => {
// Use access token
});
Helper function to get the payload for a JWT
getPayload () => Promise{Object}
blinkMobileIdentity.getPayload()
.then(payload => {
// Use payload
});
5.0.0 - 2019-03-05
assumeAWSRole()
getTenants()
setTenant()
removeTenant()
FAQs
Helper functions for Blink Mobiles single identity
The npm package @blinkmobile/bm-identity receives a total of 0 weekly downloads. As such, @blinkmobile/bm-identity popularity was classified as not popular.
We found that @blinkmobile/bm-identity demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.