[android-components](../../index.md) / [mozilla.components.service.sync.logins](../index.md) / [mozilla.appservices.logins.ServerPassword](index.md) / [toLogin](./to-login.md)

# toLogin

`fun `[`ServerPassword`](../-server-password.md)`.toLogin(): `[`Login`](../../mozilla.components.concept.storage/-login/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/service/sync-logins/src/main/java/mozilla/components/service/sync/logins/GeckoLoginStorageDelegate.kt#L169)

Converts an Application Services [ServerPassword](../-server-password.md) to an Android Components [Login](../../mozilla.components.concept.storage/-login/index.md)

