IBM / go-sdk-core

The go-sdk-core repository contains core functionality required by Go code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
30 stars 24 forks source link

feat(IAM Authenticator): add support for optional 'scope' property #74

Closed padamstx closed 4 years ago

padamstx commented 4 years ago

The IAM /identity/token (get token) operation supports an optional "scope" form parameter which can be used to obtain an IAM access token having a limited set of scopes in this it can be used. This commit adds support for the "Scope" field within the IamAuthenticator struct. If set, the value of this field is sent as the "scope" form param in the "get token" request body when obtaining an access token.

padamstx commented 4 years ago

@NITZANN could you please take a look at this PR and make sure it meets your needs? Thanks

ibm-devx-automation commented 4 years ago

:tada: This PR is included in version 4.5.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: