Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add authenticationType method to authenticators #169

Merged
merged 2 commits into from
Oct 15, 2021

Conversation

padamstx
Copy link
Member

@padamstx padamstx commented Oct 15, 2021

This commit adds a new method ('authenticationType') to
the Authenticator base class, AuthenticatorInterface,
and each authenticator implementation (subclasses of
Authenticator).
The function will return a string indicating the
authenticator type ('basic', 'iam', etc.).
This brings the node core in line with the Go and Jave
cores where the authenticators already support a similar
method.

Checklist
  • npm test passes (tip: npm run lint-fix can correct most style issues)
  • tests are included

This commit adds a new method ('authenticationType') to
the Authenticator base class, AuthenticatorInterface,
and each authenticator implementation (subclasses of
Authenticator).
The function will return a string indicating the
authenticator type ('basic', 'iam', etc.).
This brings the node core in line with the Go and Jave
cores where the authenticators already support a similar
method.
@padamstx padamstx requested a review from dpopp07 October 15, 2021 14:42
@padamstx padamstx self-assigned this Oct 15, 2021
@padamstx
Copy link
Member Author

cc: @ricellis

Copy link
Member

@dpopp07 dpopp07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me 👍

@padamstx padamstx merged commit 2850c4f into main Oct 15, 2021
@padamstx padamstx deleted the update-authenticators branch October 15, 2021 18:37
ibm-devx-sdk pushed a commit that referenced this pull request Oct 15, 2021
# [2.15.0](v2.14.4...v2.15.0) (2021-10-15)

### Features

* add authenticationType method to authenticators ([#169](#169)) ([2850c4f](2850c4f))
@ibm-devx-sdk
Copy link

🎉 This PR is included in version 2.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants