2.3.1 • Published 6 months ago

@axway/axway-flow-authorization v2.3.1

Weekly downloads
532
License
SEE LICENCE IN LI...
Repository
-
Last release
6 months ago

@axway/axway-flow-authorization

Authorization services for API Builder.

API Reference

axway-flow-authorization.CredentialManager : axway-flow-authorization.CredentialManager

The credential manager singleton.

Kind: static property of axway-flow-authorization

axway-flow-authorization~CredentialManager

The credential manager service. Manages credentials and attempts to keep them evergreen.

Shape of an OAuth2 credential: onedrive: { access_token: , type: 'oauth2', token_url: , client_id: , client_secret: , redirect_uri: , refresh_token: }

Shape of apikey/unmanaged auth: myservice: 'mykey'

Shape of basic auth: myservice: { username: 'username', password: 'password' }

Kind: inner class of axway-flow-authorization
Access: public

new CredentialManager()

Constructs a CredentialManager. The instance is a singleton.

credentialManager.config

The authorization config for the service.

Kind: instance property of CredentialManager
Access: public

ParamTypeDescription
configobjectThe credential manager config.
config.credentialsobject | stringThe credential to managa.

credentialManager.setLogger(logger)

Set the logger.

Kind: instance method of CredentialManager
Access: public

ParamTypeDescription
loggerobjectThe logger.

credentialManager.getCredential(name) ⇒ *

Returns the named credential.

Kind: instance method of CredentialManager
Returns: * - The named credential or null if no credential exists.
Access: public

ParamTypeDescription
namestringThe name of the credential to retrieve.

credentialManager.addCredential(credential)

Add a credential to be managed.

Kind: instance method of CredentialManager
Access: public

ParamTypeDescription
credentialobjectThe credential to manage.
credential.namestringThe name of the credential.
credential.expirylongThe expiration time of the current credential.
credential.typestringThe type of the credential.
credential.token*The current credential value (e.g. access token for oauth).
credential.refreshPolicystringThe refresh policy of the credential.

Building

npm run build

Author

Axway support@axway.com https://axway.com

License

This code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: https://support.axway.com/en/auth/general-conditions. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.

2.3.1

6 months ago

1.4.1

6 months ago

1.4.0

6 months ago

2.3.0

6 months ago

2.2.0

7 months ago

2.1.1

1 year ago

2.0.2

2 years ago

1.3.19

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.3.17

2 years ago

1.3.18

2 years ago

1.3.13

2 years ago

1.3.14

2 years ago

1.3.12

2 years ago

1.3.15

2 years ago

1.3.16

2 years ago

1.3.10

2 years ago

1.3.11

2 years ago

1.3.9

2 years ago

1.3.8

2 years ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.20

3 years ago

1.2.18

3 years ago

1.2.19

3 years ago

1.2.16

3 years ago

1.2.17

3 years ago

1.2.15

3 years ago

1.2.14

3 years ago

1.2.13

3 years ago

1.2.12

3 years ago

1.2.11

3 years ago

1.2.10

3 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.0

4 years ago

1.2.1

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.39

5 years ago

0.0.38

5 years ago

0.0.37

5 years ago

0.0.36

5 years ago

0.0.35

5 years ago

0.0.34

5 years ago

0.0.33

5 years ago

0.0.31

5 years ago

0.0.30

5 years ago

0.0.29

5 years ago

0.0.28

5 years ago

0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago