provideAuthClient
Provides an auth client interface to interact with the OMH Auth library. This uses reflection to obtain the correct implementation for GMS or non GMS devices depending on what dependency you have.
Return
an OmhAuthClient to interact with the Auth module.
Parameters
-> ideally your application context, but an activity context will also work.
-> your oauth scopes in a collection. Do take into account that non GMS devices won't be able to request more scopes after the first authorization.
-> your client ID for the Android Application.
-> web client id useful when you want to obtain idToken
Throws
when reflection fails for any of the implementations of the OmhAuthFactory. If this happens, look if you have configured correctly the gradle plugin or if your obfuscation method hasn't tampered with the library files.