['userId','oauthProviderId','identity']]; } public function propertyMapping() { return [ 'user_id_' => 'userId', 'provider_id_' => 'oauthProviderId', 'identity_' => 'identity', ]; } public function setUserOAuth() { return $this->execFunction('user_SetOauth'); } public function save($runValidation = true, $attributes = null) { throw new NotSupportedException(\Yii::t('api','Saving data via ActiveRecord not supported for UserOAuth model.')); } }