3.0.9 • Published 7 months ago

adobe-ims-servicetoken v3.0.9

Weekly downloads
10
License
BSD-3-Clause
Repository
github
Last release
7 months ago

adobe-ims-servicetoken

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!

Configuration

url

IMS URL for retrieving an access token, default is https://ims-na1.adobelogin.com/ims/token

grant_type (optional)

Grant type, default is authorization_code; set to '' if exchanging a JWT

client_id

IMS Client ID

client_secret

IMS Client Secret

code (required if jwt_token is not supplied)

IMS Client Code

jwt_token (required if code is not supplied)

JWT for Access Token exchange

Example

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;
}
3.0.4

7 months ago

3.0.3

7 months ago

3.0.2

7 months ago

3.0.1

7 months ago

3.0.8

7 months ago

3.0.7

7 months ago

3.0.6

7 months ago

3.0.5

7 months ago

3.0.0

7 months ago

3.0.9

7 months ago

2.0.3

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.2.0

3 years ago

1.3.0

3 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago