cloudant / java-cloudant

A Java client for Cloudant
Apache License 2.0
79 stars 68 forks source link

Add option for client to authenticate with IAM token server. #472

Closed smithsz closed 5 years ago

smithsz commented 5 years ago

Checklist

Description

Add option for client to authenticate with IAM token server.

Fixes #471.

Approach

Overload the iamApiKey method in the client builder so that a client ID and secret can be specified.

Schema & API Changes

No breaking API changes.

Security and Privacy

No change.

Testing

Includes additional mock unit test.

Monitoring and Logging

No change.