emailPassword

fun emailPassword(email: String, password: String): Credentials

Creates credentials representing a login using email and password.

Return

credentials that can be used to log into MongoDB Realm using App.login.

Parameters

email

email of the user logging in.

password

password of the user logging in.