ZTAuthServiceDefinition

interface ZTAuthServiceDefinition

ZTAuthServiceDefinition

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Functions

authenticate
Link copied to clipboard
@POST(value = user/authenticate)
abstract fun authenticate(@Body() authPayload: AuthPayload): Call<ApiResponseModel.AuthResponse>
create
Link copied to clipboard
@POST(value = user/create)
abstract fun create(@Body() payload: Map<String, Any>): Observable<ResponseBody>