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

fix(sdk): add example for token exchange #600

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

mkleene
Copy link
Contributor

@mkleene mkleene commented Apr 17, 2024

also

  • pull internal sdk classes into internal module
  • have a better (varargs) interface for audiences since there may be many, in general

@mkleene mkleene changed the title Normalize token exchange fix(sdk): add example for token exchange Apr 17, 2024
@mkleene mkleene marked this pull request as ready for review April 17, 2024 17:07
@mkleene mkleene requested review from a team as code owners April 17, 2024 17:07
@mkleene mkleene enabled auto-merge April 17, 2024 17:16
Copy link
Member

Choose a reason for hiding this comment

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

@mkleene Did you mean to move these to the root of internal? They should live inside a oauth pkg if we are going ot move them.

Copy link
Contributor Author

@mkleene mkleene Apr 18, 2024

Choose a reason for hiding this comment

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

I can just make them unexported in the auth package I guess. Does that make sense?

Copy link
Member

Choose a reason for hiding this comment

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

Then you won't be able to access them in the sdk package. Why wouldn't these make sense in the oauth package? Maybe we need some reorganization of pkgs if there isn't a good home for this.

@mkleene mkleene requested review from a team as code owners April 23, 2024 18:24
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.

None yet

3 participants