Skip to content

feat: make JWTDecode.JWT conform to sendable #287

@xinnjie

Description

@xinnjie

Checklist

  • I have looked into the Readme and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

Hi,
I wonder if JWTDecode.JWT can conform to sendable?

When using Swift new concurrency feature, i.e. async/await, it would be convinient in many use cases if JWTDecode.JWT can conform to sendable

https://community.auth0.com/t/credentialsmanager-credentials-and-sendability/95271 may be related.

Describe the ideal solution

DecodedJWT is struct type, shoud be easy to conform to sendable

Alternatives and current workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

feature requestA feature has been asked for or suggested by the community

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions