Default variable to None.
Use an enum class for identity endpoint type.