AuthProvider

class AuthProvider(context: Context)

Uses for initialization AuthClient object

Constructors

Link copied to clipboard
fun AuthProvider(context: Context)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun provide(callback: ProviderCallback)

Create AuthClient with provided options.

Link copied to clipboard
fun setUseSecureStorage(enableSecureStorage: Boolean): AuthProvider

Specifies using SecureStorage

Link copied to clipboard
fun withAuthState(authState: AuthState): AuthProvider

Specifies initial AuthState

Link copied to clipboard
fun withBiometric(biometricType: BiometricType, fragmentActivity: FragmentActivity?, biometricPromptConfig: BiometricPromptConfig?): AuthProvider

Specifies parameters for biometric authentication.

Link copied to clipboard
fun withClientId(clientId: String): AuthProvider

Specifies client id for AuthClient

Link copied to clipboard
fun withClientSecret(clientSecret: String): AuthProvider

Specifies client secret for AuthClient

Link copied to clipboard
fun withCustomTabOption(intent: CustomTabsIntent): AuthProvider

Specifies a custom tab

Link copied to clipboard
fun withDomain(domain: String): AuthProvider

Specifies domain for AuthClient

Link copied to clipboard
fun withRedirectUri(redirectUri: String): AuthProvider

Specifies redirect uri for AuthClient