package Ġcom . soft cube . re _ reddit . domain . use case Ċ Ċ import Ġcom . soft cube . re _ reddit . application . base . Base UseCase Ċ import Ġcom . soft cube . re _ reddit . domain . model . AccessToken Ċ import Ġcom . soft cube . re _ reddit . domain . repository . Auth Repository Ċ Ċ /** Ċ Ġ* Ġcom . soft cube . re _ reddit . domain . use case Ċ Ġ* Ċ Ġ* ĠCreated Ġby ĠWil son ĠG arc ia Ġon Ġ 6 / 5 / 2 1 Ċ Ġ* ĠCopyright ĠÂ© Ġ 2 0 2 1 ĠWil son ĠG arc ia . ĠAll Ġrights Ġreserved . Ċ Ġ*/ Ċ Ċ type alias ĠAuth enticate Base UseCase Ġ= ĠBase UseCase < String , ĠAccess Token > Ċ Ċ class ĠAuth enticate UseCase ( private Ġval Ġrepository : ĠAuth Repository ) Ġ: ĠAuth enticate Base UseCase Ġ{ Ċ ĉ override Ġsuspend Ġfun Ġinvoke ( deviceId : ĠString ): ĠAccess Token Ġ= Ġrepository . authenticate ( deviceId ) Ċ } Ċ