heremaps / here-aaa-java-sdk

HERE Authentication, Authorization, and Accounting Java Client library.
Apache License 2.0
27 stars 27 forks source link

library should make correlationId available in AccessTokenResponse. #65

Closed kenmccracken closed 5 years ago

kenmccracken commented 5 years ago

From the OLP specs, X-Correlation-ID is returned to customer in response headers. It is best if we make this value available to customers on the AccessTokenResponse object.
Suggested to follow a similar pattern to https://github.com/heremaps/here-aaa-java-sdk/pull/63, but on the response side, to use a private transient String correlationId with setter/getter.

stwwalton commented 5 years ago

Done

kenmccracken commented 5 years ago

Included in latest release 0.4.18. Which includes PR #67