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(IamAuthenticator): support refresh token flow in IamAuthenticator #146

Merged
merged 1 commit into from
Nov 29, 2021

Commits on Nov 29, 2021

  1. feat(IamAuthenticator): support refresh token flow in IamAuthenticator

    This commit updates the IamAuthenticator so that it supports
    the "refresh token" auth flow.  In this scenario, the user constructs
    an IamAuthenticator with a refresh token (and client id/secret) instead
    of an apikey.  The authenticator will use the "POST /identity/token"
    operation with grant_type "refresh_token" to obtain an IAM access token.
    
    In this commit, I also added a new "builder" for the IamAuthenticator
    as well, and deprecated the legacy ctor function although it is still supported.
    padamstx committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    20c9213 View commit details
    Browse the repository at this point in the history