Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Value of "Requesting" States #59

codefiesta started this conversation in General
Discussion options

I'm questioning the value of the following OAuth.State enums:

  • .requestingAccessToken(Provider)
  • .requestingDeviceCode(Provider)

While it can be internally useful for the OAuth client, it seems like it adds limited public value to consumers of the OAuth client and adds unecessary overhead of having to switch over more possible states that most likely will never be responded to (unless a client want to show a progress spinner or something like that?).

You must be logged in to vote

Replies: 0 comments

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

AltStyle によって変換されたページ (->オリジナル) /