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

[Feature Request]: Parse and validate session tokens #79

Open
MasterJ93 opened this issue Dec 26, 2024 · 0 comments
Open

[Feature Request]: Parse and validate session tokens #79

MasterJ93 opened this issue Dec 26, 2024 · 0 comments
Assignees
Labels
new feature New feature or request
Milestone

Comments

@MasterJ93
Copy link
Owner

Summary

Methods related to session tokens will be needed.

Pain points

At this time, ATProtocolConfiguration's getSession and refreshSession has a few lines of code that shouldn't run unless they're absolutely necessary. There needs to be a way for the session tokens to be parsed so as to find out the issue and expiry dates, as well as the signature. The signature should be able to be validated; the public key is located under UserSession.didDocument.verificationMethod[#].publicKeyMultibase.

Considered Alternatives

No response

Is this a breaking change?

No

Library Examples

No response

Additional Context

No response

@MasterJ93 MasterJ93 added the new feature New feature or request label Dec 26, 2024
@MasterJ93 MasterJ93 added this to the 0.22.0 milestone Dec 26, 2024
@MasterJ93 MasterJ93 self-assigned this Dec 26, 2024
@MasterJ93 MasterJ93 moved this to Todo in ATProtoKit Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant