Class MobilePhoneEnrollingWS

java.lang.Object
io.jans.casa.plugins.authnmethod.rs.MobilePhoneEnrollingWS
Direct Known Subclasses:
TwilioMobilePhoneEnrollingWS

public class MobilePhoneEnrollingWS extends Object
Author:
jgomer
  • Constructor Details

    • MobilePhoneEnrollingWS

      public MobilePhoneEnrollingWS()
  • Method Details

    • sendCode

      @GET @Path("send-code") @Produces("application/json") public jakarta.ws.rs.core.Response sendCode(@QueryParam("number") String number, @QueryParam("userid") String userId)
    • validateCode

      @GET @Path("validate-code") @Produces("application/json") public jakarta.ws.rs.core.Response validateCode(@QueryParam("code") String code, @QueryParam("userid") String userId)
    • getEnrollments

      @GET @Path("creds/{userid}/{id}") @Produces("application/json") public jakarta.ws.rs.core.Response getEnrollments()
    • finishEnrollment

      @POST @Path("creds/{userid}") @Produces("application/json") public jakarta.ws.rs.core.Response finishEnrollment(NamedCredential credential, @PathParam("userid") String userId)