package Ġcom . auth 0 . and roi dex ercise . services . impl Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . auth 0 . and roi dex ercise . security . Credentials Repository Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . h ilt . Install In Ċ import Ġdagger . h ilt . android . qual ifiers . ApplicationContext Ċ import Ġdagger . h ilt . components . Singleton Component Ċ import Ġjavax . inject . Named Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Module Ċ @ Install In ( Singleton Component :: class ) Ċ class ĠRet rofit Module Ġ{ ĊĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Named (" ret rofit Client ") ĊĠĠĠ Ġfun Ġprovides Ret rofit Client ( ĊĠĠĠĠĠĠĠ Ġ@ ApplicationContext Ġcontext : ĠContext , ĊĠĠĠĠĠĠĠ Ġ@ Named (" credentials Repository ") Ġcredentials Repository : ĠCredentials Repository ĊĠĠĠ Ġ): ĠRet rofit Client Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠRet rofit Client Impl ( context , Ġcredentials Repository ) ĊĠĠĠ Ġ} Ċ Ċ }