Skip to content

v1.0.0-alpha2

@spajxo spajxo tagged this 24 Jul 09:45
- Add from() and tryFrom() methods to IdToken, RefreshToken, and AccessToken
- from() throws UnexpectedValueException on invalid input
- tryFrom() returns null on invalid input for safe token creation
- Update Tokens class to use tryFrom() methods internally
- Update all tests to use new API
- Remove deprecated fromTokenResponse() methods from individual token classes
- Maintain consistent error handling across all token types

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
Assets 2
Loading