diff --git a/msal/src/main/java/com/microsoft/identity/nativeauth/UserAttributes.kt b/msal/src/main/java/com/microsoft/identity/nativeauth/UserAttributes.kt index e8930393d0..099f4616e0 100644 --- a/msal/src/main/java/com/microsoft/identity/nativeauth/UserAttributes.kt +++ b/msal/src/main/java/com/microsoft/identity/nativeauth/UserAttributes.kt @@ -34,7 +34,6 @@ class UserAttributes(internal val userAttributes: Map) { private const val CITY = "city" private const val COUNTRY = "country" private const val DISPLAY_NAME = "displayName" - private const val EMAIL_ADDRESS = "email" private const val GIVEN_NAME = "givenName" private const val JOB_TITLE = "jobTitle" private const val POSTAL_CODE = "postalCode" @@ -72,15 +71,6 @@ class UserAttributes(internal val userAttributes: Map) { return this } - /** - * Sets the email address for the user - * @param emailAddress: Email address for the user - */ - fun emailAddress(emailAddress: String): Builder { - userAttributes[EMAIL_ADDRESS] = emailAddress - return this - } - /** * Sets the given name for the user * @param givenName: Given name for the user