eclipse-edc / Technology-Gcp

Apache License 2.0
3 stars 6 forks source link

refactor: simplify IAM access token creation API #150

Closed man8pr closed 6 months ago

man8pr commented 6 months ago

What this PR changes/adds

Removed method createDefaultAccessToken from IamService. Access token from ADC generated via createAccessToken with null or ADC_SERVICE_ACCOUNT parameter.

Why it does that

Simplify the API and delegate IamService to generate appropriate token.