Skip to content

Use class instead of param for state in authorization and end-session requests #653

Open
pcba-dev wants to merge 2 commits into
MaikuB:masterfrom
SniffersDev:use-class-instead-of-param-for-state
Open

Use class instead of param for state in authorization and end-session requests #653
pcba-dev wants to merge 2 commits into
MaikuB:masterfrom
SniffersDev:use-class-instead-of-param-for-state

Conversation

@pcba-dev
Copy link
Copy Markdown

@pcba-dev pcba-dev commented May 5, 2026

Fixes #646 based on #647 (review)

@pcba-dev pcba-dev force-pushed the use-class-instead-of-param-for-state branch from f4f962e to 18e6ded Compare May 6, 2026 08:04
Copy link
Copy Markdown
Owner

@MaikuB MaikuB left a comment

Choose a reason for hiding this comment

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

Thanks for the updated PR. Besides the linter issue, there are a couple of issues I picked up with the PR so far

  • This file needs to be updated to expose the new classes. This is necessary to make it so that developers only need to import a reference the main plugin access the new classes
  • Once done, can you test all of the possible permutations on all platforms? I did a test and saw an exception when triggering an end session request with null state (i.e. used the SuppressedState class). This occurred on iOS and looks like further changes would be needed

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.

Allow explicitly null state in EndSessionRequest

2 participants