OmhAuthProvider

Object that providers the correct implementation of the client for GMS or non GMS builds.

Types

Link copied to clipboard
class Builder

Functions

Link copied to clipboard
fun provideAuthClient(context: Context, scopes: Collection<String>, clientId: String): OmhAuthClient

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.