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

Implements PAR request to prefill user information #294

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

mohssenfathi
Copy link
Contributor

Description

Adding support for prefill values. This was a feature of the existing SDK that is being migrated to the new UberAuth, so logic should be fairly similar.

NetworkProvider

This is a network utility used to make the PAR request. There is a similar class in UberCore, but since it will be removed I recreated in UberAuth

ParRequest

This is the request builder for the PAR endpoint. Should be similar to AuthorizeRequest, but with different values.

Scope Changes

I reduced the scope of several classes where possible.

Testing

  • Manual testing -- Use the sample app and test client id 9QZcD_Ki6NbhGCrVXSUHCxfevm-C9Khj to test changes

Demo

par.mp4

@mohssenfathi mohssenfathi marked this pull request as ready for review March 28, 2024 23:40
@mohssenfathi mohssenfathi merged commit 2359902 into uber:2.x Apr 2, 2024
4 checks passed
@mohssenfathi mohssenfathi deleted the par branch April 2, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants