|
@ -16,4 +16,8 @@ public interface AccessClient |
|
|
@RequestLine("POST /accounts/login") |
|
|
@RequestLine("POST /accounts/login") |
|
|
@Headers(Utils.AUTHENTICATION_HEADER + ":Basic {authToken}") |
|
|
@Headers(Utils.AUTHENTICATION_HEADER + ":Basic {authToken}") |
|
|
LoginResponse login(@Param("authToken") final String authenticationHeader); |
|
|
LoginResponse login(@Param("authToken") final String authenticationHeader); |
|
|
|
|
|
|
|
|
|
|
|
@RequestLine("POST /accounts/logout") |
|
|
|
|
|
@Headers(Utils.AUTHENTICATION_HEADER + ":Bearer {authToken}") |
|
|
|
|
|
Response logout(@Param("authToken") final String authenticationHeader); |
|
|
} |
|
|
} |