package Ġcom . user . fad hl anh ad ain a . core . data . source . remote . network Ċ Ċ import Ġcom . user . fad hl anh ad ain a . core . data . source . remote . response . Login Response Ċ import Ġcom . user . fad hl anh ad ain a . core . data . source . remote . response . Status Response Ċ import Ġretrofit 2 . http . Field Ċ import Ġretrofit 2 . http . Form Url Encoded Ċ import Ġretrofit 2 . http . POST Ċ Ċ interface ĠAuth Service Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġconst Ġval ĠLOGIN _ API _ URL Ġ= Ġ" https :// admin - login - dot - sharp - ring - 3 1 2 4 1 1 . et . r . app spot . com " ĊĠĠĠĠĠĠĠ Ġconst Ġval ĠCHANGE PASSWORD _ API _ URL Ġ= Ġ" https :// admin - change pass - dot - sharp - ring - 3 1 2 4 1 1 . et . r . app spot . com " ĊĠĠĠ Ġ} ĊĠĠĠ Ġ@ Form Url Encoded ĊĠĠĠ Ġ@ POST ( LOGIN _ API _ URL ) ĊĠĠĠ Ġsuspend Ġfun Ġlogin (@ Field (" email ") Ġemail : ĠString , Ġ@ Field (" password ") Ġpassword : ĠString ): ĠLogin Response ĊĊĠĠĠ Ġ@ Form Url Encoded ĊĠĠĠ Ġ@ POST ( CHANGE PASSWORD _ API _ URL ) ĊĠĠĠ Ġsuspend Ġfun Ġchange Password ( ĊĠĠĠĠĠĠĠ Ġ@ Field (" email ") Ġemail : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Field (" c urren tp ass ") Ġcurrent Password : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Field (" new pass ") Ġnew Password : ĠString , ĊĠĠĠ Ġ): ĠStatus Response Ċ }