package Ġcom . jin woo . with github . domain . use case Ċ Ċ import Ġcom . jin woo . with github . domain . base . UseCase Ċ import Ġcom . jin woo . with github . domain . entity . Auth Entity Ċ import Ġcom . jin woo . with github . domain . entity . Token Entity Ċ import Ġcom . jin woo . with github . domain . repository . auth . Auth Repository Ċ import Ġio . reactivex . Flow able Ċ Ċ class ĠAuth UseCase ( val Ġrepository : ĠAuth Repository ): ĠUse Case < Auth Entity , ĠToken Entity > (){ ĊĊĠĠĠ Ġoverride Ġfun Ġcreate Single ( data : ĠAuth Entity ): ĠFlow able < Token Entity > ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ= Ġrepository . get AccessToken ( data ) ĊĊĠĠĠ Ġfun Ġget Auth ( entity : ĠAuth Entity ): ĠFlow able < Token Entity > ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ= Ġcreate Single ( entity ) Ċ }