public interface AuthenticationApi
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<AuthenticationCreateResponse> |
createAuthentication(AuthenticationDataRequest authenticationDataRequest)
Create authentication
|
retrofit2.Call<AuthenticationDataResponse> |
getAuthentication(String authId)
Get authentication information
|
retrofit2.Call<AuthenticationUpdateResponse> |
updateAuthentication(String authenticationId,
AuthenticationPatchRequest authenticationPatchRequest)
Update authentication
|
@Headers(value="Content-Type:application/json") @POST(value="api/authentication") retrofit2.Call<AuthenticationCreateResponse> createAuthentication(@Body AuthenticationDataRequest authenticationDataRequest)
authenticationDataRequest - authenticationDataRequest (required)@GET(value="api/authentication/{authId}")
retrofit2.Call<AuthenticationDataResponse> getAuthentication(@Path(value="authId")
String authId)
authId - Authentication ID (required)@Headers(value="Content-Type:application/json")
@PATCH(value="api/authentication/{authenticationId}")
retrofit2.Call<AuthenticationUpdateResponse> updateAuthentication(@Path(value="authenticationId")
String authenticationId,
@Body
AuthenticationPatchRequest authenticationPatchRequest)
authenticationId - Authentication ID (required)authenticationPatchRequest - authenticationPatchRequest (required)Copyright © 2024. All rights reserved.