Skip to content

Instantly share code, notes, and snippets.

@inspirit941
Last active April 2, 2023 10:57
Show Gist options
  • Select an option

  • Save inspirit941/6909fe38888c8ef38f4f3be5b2103360 to your computer and use it in GitHub Desktop.

Select an option

Save inspirit941/6909fe38888c8ef38f4f3be5b2103360 to your computer and use it in GitHub Desktop.
package com.witherview.keycloak.oauth.account;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
@Consumes(MediaType.APPLICATION_JSON)
public interface AccountApiService {
@GET
@Path("/oauth/user/{email}")
AccountDTO.ResponseLogin getUserDetails(@PathParam("email") String email);
@POST
@Path("/oauth/user")
boolean isValidPassword(AccountDTO.LoginValidateDTO login);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment