package Ġcom . k ard ia . membership . domain . services Ċ Ċ import Ġcom . k ard ia . membership . domain . api . Captcha API Ċ import Ġcom . k ard ia . membership . domain . entities . captcha . Create Captcha Entity Ċ import Ġcom . k ard ia . membership . domain . entities . captcha . Verify Captcha Entity Ċ import Ġcom . k ard ia . membership . domain . use cases . captcha . Post Verify Captcha UseCase Ċ import Ġokhttp 3 . ResponseBody Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . Ret rofit Ċ import Ġjavax . inject . Inject Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Singleton Ċ class ĠCapt cha Service Ċ @ Inject Ġconstructor ( ret rofit : ĠRet rofit ) Ġ: ĠCapt cha API Ġ{ ĊĠĠĠ Ġprivate Ġval Ġcapt cha API Ġby Ġlazy Ġ{ ĊĠĠĠĠĠĠĠ Ġretrofit . create ( Captcha API :: class . java ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġcreate Captcha (): ĠCall < Create Captcha Entity > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġcapt cha API . create Captcha () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Captcha ( captcha Id : ĠString ?): ĠCall < ResponseBody > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġcapt cha API . get Captcha ( captcha Id ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġverify Captcha ( params : ĠPost Verify Captcha UseCase . Params ): ĠCall < Verify Captcha Entity > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġcapt cha API . verify Captcha ( params ) ĊĠĠĠ Ġ} Ċ Ċ }