Skip to content

[SDK-3924] Add support for Authentication methods API#506

Merged
poovamraj merged 8 commits intov2-devfrom
authentication-methods-api
Jan 20, 2023
Merged

[SDK-3924] Add support for Authentication methods API#506
poovamraj merged 8 commits intov2-devfrom
authentication-methods-api

Conversation

@poovamraj
Copy link
Copy Markdown
Contributor

@poovamraj poovamraj commented Jan 19, 2023

Changes

This change adds support for the following Authenticator Methods APIs to the UserEntity client:

References

#504

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 test coverage
  • This change has been tested on the latest version of the platform/language or why not

@poovamraj poovamraj requested a review from a team as a code owner January 19, 2023 17:29
Copy link
Copy Markdown
Contributor

@jimmyjames jimmyjames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good generally, just a couple minor comments, and need to get the build/tests passing.


@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AuthenticationMethod implements Serializable {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to implement Serializable. Looks like we have it in some old classes but is not needed.

@@ -0,0 +1,247 @@
package com.auth0.json.mgmt.authenticationmethods;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these classes should go in the json.mgmt.users package, unless used outside of the UsersEntity.

@poovamraj poovamraj merged commit 3be1684 into v2-dev Jan 20, 2023
@poovamraj poovamraj deleted the authentication-methods-api branch January 20, 2023 16:45
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

Successfully merging this pull request may close these issues.

2 participants