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

Add support for device authorization flow (RFC8628) #795

Merged
merged 4 commits into from Jan 18, 2022

Commits on Dec 22, 2021

  1. rfc8628: Add client implementation for token retrieval

    This change adds an implementation of the Device Authorization flow
    client from RFC8628.  The initial structure is derived from the
    existing BackendApplicationClient with the addition of the device_code
    in the client.
    
    This change does not provide the support necessary for querying the
    device code endpoint in order to generate the initial device_code and
    URL that is required for completing the full end to end device
    authorization process.
    kellyma2 committed Dec 22, 2021
    Copy the full SHA
    0158e28 View commit details
    Browse the repository at this point in the history
  2. Add device token fetch URI generator

    In order to perform the full device authorization flow it's necessary
    to first generate the device code and get the authorization flow URL.
    
    prepare_request_uri() allows us to do this while providing scopes and
    additional parameters.
    kellyma2 committed Dec 22, 2021
    Copy the full SHA
    24ad1dc View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2021

  1. Remove encoding lines

    These lines are not required for python3
    kellyma2 committed Dec 23, 2021
    Copy the full SHA
    7c0d474 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. Copy the full SHA
    ab56b94 View commit details
    Browse the repository at this point in the history