Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @FeignClient(value="auth", configuration = AuthClientConfiguration.class)
- public interface AuthClient {
- @RequestMapping(method = RequestMethod.GET, value = "/tokens", consumes = MediaType.APPLICATION_JSON_VALUE)
- Single<Session> getSession(@RequestHeader("Authorization") String token);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement