Last active
April 2, 2023 10:57
-
-
Save inspirit941/6909fe38888c8ef38f4f3be5b2103360 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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