Skip to content

Implement wrapper method of issue_stateless_channel_token#1871

Merged
habara-k merged 2 commits intomasterfrom
wrapper-of-issue-stateless-channel-token
Apr 3, 2026
Merged

Implement wrapper method of issue_stateless_channel_token#1871
habara-k merged 2 commits intomasterfrom
wrapper-of-issue-stateless-channel-token

Conversation

@habara-k
Copy link
Copy Markdown
Contributor

@habara-k habara-k commented Apr 1, 2026

Summary

  • Add convenience wrapper methods issueStatelessChannelTokenByJWTAssertion() and issueStatelessChannelTokenByClientSecret()
  • The stateless token API has two authentication patterns (oneOf), but the generated issueStatelessChannelToken() merges them into a single method where all parameters are required. Previously, users had to pass null for unused parameters. These wrappers auto-fill them.

Test plan

  • ChannelAccessTokenClientExTest — verifies correct form parameters are sent for each authentication pattern

@habara-k habara-k self-assigned this Apr 1, 2026
@habara-k habara-k force-pushed the wrapper-of-issue-stateless-channel-token branch 3 times, most recently from 4252fe1 to 2649a9d Compare April 2, 2026 09:11
@habara-k habara-k force-pushed the wrapper-of-issue-stateless-channel-token branch from 2649a9d to 4fc2bf4 Compare April 2, 2026 09:42
@habara-k habara-k requested a review from a team April 3, 2026 04:49
@habara-k habara-k added this pull request to the merge queue Apr 3, 2026
Merged via the queue into master with commit b17a224 Apr 3, 2026
10 checks passed
@habara-k habara-k deleted the wrapper-of-issue-stateless-channel-token branch April 3, 2026 07:56
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