ThirdParty

interface ThirdParty

Provides a method for starting Third Party OAuth authentications

Types

Link copied to clipboard
data class AuthenticateParameters @JvmOverloads constructor(val token: String, val sessionDurationMinutes: Int = DEFAULT_SESSION_TIME_MINUTES)

Data class used for wrapping parameters to authenticate a third party OAuth flow

Link copied to clipboard
data class StartParameters @JvmOverloads constructor(val context: Activity, val oAuthRequestIdentifier: Int, val loginRedirectUrl: String? = null, val signupRedirectUrl: String? = null, val customScopes: List<String>? = null, val providerParams: Map<String, String>? = null)

Data class used for wrapping parameters to start a third party OAuth flow

Properties

Link copied to clipboard
abstract val providerName: String

The Third Party OAuth provider name

Functions

Link copied to clipboard
abstract fun start(parameters: OAuth.ThirdParty.StartParameters)

Begin a ThirdParty OAuth flow