package
Adobe IMS Service Token lifecycle management
npm install adobe-ims-servicetokenGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 6 packages.
187.4 kB
Includes dependencies.
Load into your node.js application to easily manage Adobe IMS service tokens. Multiple clients and/or grant types are supported with 1.1.0!
IMS URL for retrieving an access token, default is https://ims-na1.adobelogin.com/ims/token
Grant type, default is authorization_code; set to '' if exchanging a JWT
IMS Client ID
IMS Client Secret
jwt_token is not supplied)IMS Client Code
code is not supplied)JWT for Access Token exchange
import {token as ims} from 'adobe-ims-servicetoken';
export async function token () {
let result;
try {
result = await ims({client_id: '', client_secret: '', code: ''});
} catch (e) {
console.error(e.message);
}
return result;
}