package Ġcom . k ard ia . membership . domain . use cases . auth Ċ Ċ import Ġcom . k ard ia . membership . core . exception . Failure Ċ import Ġcom . k ard ia . membership . core . functional . Either Ċ import Ġcom . k ard ia . membership . core . inter actor . UseCase Ċ import Ġcom . k ard ia . membership . domain . entities . auth . Reset Password Entity Ċ import Ġcom . k ard ia . membership . domain . repositories . Auth Repository Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠPost Reset Password UseCase Ċ @ Inject Ġconstructor ( private Ġval Ġrepository : ĠAuth Repository ) Ġ: ĊĠĠĠ ĠUse Case < Reset Password Entity , ĠPost Reset Password UseCase . Params >() Ġ{ ĊĠĠĠ Ġdata Ġclass ĠParams ( val Ġemail : ĠString ) ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġrun ( params : ĠParams ): ĠEither < Failure , ĠReset Password Entity > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġrepository . reset Password ( params ) ĊĠĠĠ Ġ} Ċ }