getEmail

abstract fun getEmail(): String

Gets the email address attached to this Identity instance when available. Its availability depends on the identity provider that forged this Identity instance. The email is always available when authenticating with email/password. The email may be available when authenticating with an OAuth2 provider.

Return

The email address of this Identity instance or null if not available