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

at_c: atactivate_registrar interface in packages/atauth #397

Open
5 tasks
JeremyTubongbanua opened this issue Sep 6, 2024 · 0 comments
Open
5 tasks

at_c: atactivate_registrar interface in packages/atauth #397

JeremyTubongbanua opened this issue Sep 6, 2024 · 0 comments
Assignees

Comments

@JeremyTubongbanua
Copy link
Member

In packages/atauth, create functions that help interface with the Registrar API. Some HTTP request engineering will need to be done. Ideally, we use MbedTLS for making the HTTP requests.

API Specification

—already got atSign through registrar web— (this is high priority)

  • atactivate_registrar_authenticate_person_with_atsign - provide an atSign and request an OTP, after calling this function, an OTP will be sent to the atSign’s corresponding email address
  • atactivate_registrar_validate_person_with_atsign_and_otp - provide the OTP (that you got in your email) and you will receive a cram key

—need an atSign through the app— (this is low priority)

  • atactivate_registrar_get_free_atsign - fetch and create a new atSign
  • atactivate_registrar_register_person - provide atSign and email and it would link them together, and it will send an OTP to your email
  • atactivate_registrar_validate_person - provide OTP to the function and it will respond back with a CRAM key
@JeremyTubongbanua JeremyTubongbanua self-assigned this Sep 6, 2024
@JeremyTubongbanua JeremyTubongbanua changed the title at_c: atactivate_registrar interface interface at_c: atactivate_registrar interface Sep 6, 2024
@JeremyTubongbanua JeremyTubongbanua changed the title at_c: atactivate_registrar interface at_c: atactivate_registrar interface in packages/atauth Sep 6, 2024
@JeremyTubongbanua JeremyTubongbanua removed their assignment Sep 16, 2024
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

No branches or pull requests

4 participants