[android-components](../../index.md) / [mozilla.components.service.fxa](../index.md) / [SyncAuthInfoCache](index.md) / [setToCache](./set-to-cache.md)

# setToCache

`fun setToCache(authInfo: `[`SyncAuthInfo`](../../mozilla.components.concept.sync/-sync-auth-info/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/service/firefox-accounts/src/main/java/mozilla/components/service/fxa/SyncAuthInfoCache.kt#L27)