-
Notifications
You must be signed in to change notification settings - Fork 13
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
passkey connector apis #169
base: master
Are you sure you want to change the base?
Conversation
@@ -16,6 +12,13 @@ export interface TorusUtilsExtraParams { | |||
rpOrigin?: string; // passkey, webauthn | |||
|
|||
rpId?: string; // passkey, webauthn | |||
} | |||
export interface TorusUtilsExtraParams extends TorusUtilsPasskeyExtraParams { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just question,
can we use just add TorusUtilsPasskeyExtraParams as a field in TorusUtilsExtraParams ?
export interface TorusUtilsExtraParams extends TorusUtilsPasskeyExtraParams { | |
export interface TorusUtilsExtraParams { | |
passkeyParams: TorusUtilsPasskeyExtraParams |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a good idea, we can do it in next breaking version. This change is not related to passkey linking. These are params for existing passkey/webauthn verifiers. I just divided it in seperate interface. We can do the change you are suggesting in next breaking version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Motivation and Context
Jira Link:
Description
How has this been tested?
Screenshots (if appropriate):
Types of changes
Checklist: