You are here

public function JanrainUserProfile::getPrimaryAddress in Janrain Registration 8

File

src/User/JanrainUserProfile.php, line 73

Class

JanrainUserProfile
The user profile on Janrain.

Namespace

Drupal\janrain_capture\User

Code

public function getPrimaryAddress() : JanrainUserAddress {
  return new JanrainUserAddress($this->data->primaryAddress);
}