[android-components](../index.md) / [mozilla.components.service.sync.logins](index.md) / [toServerPassword](./to-server-password.md)

# toServerPassword

`fun `[`Login`](../mozilla.components.concept.storage/-login/index.md)`.toServerPassword(): `[`ServerPassword`](-server-password.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#L160)

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

