File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,12 @@ If you have more than one plan, you can use `CredentialUtils` to get the service
8989
9090Watson services are migrating to token-based Identity and Access Management (IAM) authentication.
9191
92+ As of ` v9.2.1 ` the preferred approach of initializing an authenticator is by using the builder pattern.
93+ The main reason is to give us flexibility to add new properties to the authenticator in the future if and when needed,
94+ and to make it easier for users to construct an authenticator instance using the precise set of properties they need to
95+ set for their use-case rather than being forced to use one of the multi-arg constructors (i.e. the one that most closely
96+ matches their requirements).
97+
9298- You can initialize the authenticator with either of the following approaches:
9399 - In the builder of the authenticator (builder pattern).
94100 - In the constructor of the authenticator (deprecated, but still available).
You can’t perform that action at this time.
0 commit comments