[android-components](../../index.md) / [mozilla.components.concept.sync](../index.md) / [OAuthAccount](index.md) / [authErrorDetected](./auth-error-detected.md)

# authErrorDetected

`abstract fun authErrorDetected(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/sync/src/main/java/mozilla/components/concept/sync/OAuthAccount.kt#L153)

Call this whenever an authentication error was encountered while using an access token
issued by [getAccessTokenAsync](get-access-token-async.md).

