[android-components](../../index.md) / [mozilla.components.service.sync.logins](../index.md) / [GeckoLoginStorageDelegate](index.md) / [onLoginUsed](./on-login-used.md)

# onLoginUsed

`fun onLoginUsed(login: `[`Login`](../../mozilla.components.concept.storage/-login/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/sync-logins/src/main/java/mozilla/components/service/sync/logins/GeckoLoginStorageDelegate.kt#L52)

Overrides [LoginStorageDelegate.onLoginUsed](../../mozilla.components.concept.storage/-login-storage-delegate/on-login-used.md)

Called after a [login](../../mozilla.components.concept.storage/-login-storage-delegate/on-login-used.md#mozilla.components.concept.storage.LoginStorageDelegate$onLoginUsed(mozilla.components.concept.storage.Login)/login) has been autofilled into web content.

