-
Notifications
You must be signed in to change notification settings - Fork 163
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
Support for listing authenticators and deleting specific authenticator #698
base: master
Are you sure you want to change the base?
Conversation
if (string.IsNullOrEmpty(request.AccessToken)) | ||
{ | ||
throw new InvalidOperationException($"{nameof(request.AccessToken)} is required"); | ||
} | ||
|
||
if (string.IsNullOrEmpty(request.AuthenticatorId)) | ||
{ | ||
throw new InvalidOperationException($"{nameof(request.AuthenticatorId)} is required"); | ||
} |
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.
We do not need to introduce this kind of validation here.Currently, we rely on the backend to tell us if something is missing, mainly because it isn't always clear what is and isnt required.
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.
removed this
Can we also add some consistency around naming here? |
renamed to ListMfaAuthenticatorsAsync |
Changes
Adding support for listing authenticators and deleting specific authenticator
Added new methods to authentication client to support the API endpoints
Added request/response classes
References
Please include relevant links supporting this change such as a:
resolves #696
resolves #697
Testing
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
This change adds integration test coverage
This change has been tested on the latest version of the platform/language or why not
Checklist
I have read the Auth0 general contribution guidelines
I have read the Auth0 Code of Conduct
All existing and new tests complete without errors