AccountAuthenticator

class AccountAuthenticator @Inject constructor(val context: Context, val accountManager: AccountManager, val tokenAuthenticator: TokenAuthenticator) : AbstractAccountAuthenticator

Constructors

Link copied to clipboard
@Inject
constructor(context: Context, accountManager: AccountManager, tokenAuthenticator: TokenAuthenticator)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun addAccount(response: AccountAuthenticatorResponse?, accountType: String?, authTokenType: String?, requiredFeatures: Array<out String>?, options: Bundle?): Bundle
Link copied to clipboard
open override fun confirmCredentials(response: AccountAuthenticatorResponse?, account: Account?, options: Bundle?): Bundle
Link copied to clipboard
open override fun editProperties(response: AccountAuthenticatorResponse?, accountType: String?): Bundle
Link copied to clipboard
Link copied to clipboard
open override fun getAuthToken(response: AccountAuthenticatorResponse?, account: Account, authTokenType: String?, options: Bundle?): Bundle
Link copied to clipboard
open override fun getAuthTokenLabel(authTokenType: String): String
Link copied to clipboard
Link copied to clipboard
open override fun hasFeatures(response: AccountAuthenticatorResponse?, account: Account?, features: Array<out String>?): Bundle
Link copied to clipboard
fun invalidateSession(onSessionInvalidated: () -> Unit)
Link copied to clipboard
fun logout(onLogout: () -> Unit)
Link copied to clipboard
open override fun updateCredentials(response: AccountAuthenticatorResponse?, account: Account?, authTokenType: String?, options: Bundle?): Bundle
Link copied to clipboard