/** * @param OpenIdMessage $message * @param string|null $user_identity_endpoint * @throws InvalidOpenIdMessageException */ public function __construct(OpenIdMessage $message, $user_identity_endpoint = null) { parent::__construct($message); $this->user_identity_endpoint = $user_identity_endpoint; if (!empty($this->user_identity_endpoint)) { if (!str_contains($this->user_identity_endpoint, '@identifier')) { throw new InvalidOpenIdMessageException("user_identity_endpoint value must contain @identifier placeholder!."); } } }
public function __construct(OpenIdMessage $message) { parent::__construct($message); }
public function __construct(OpenIdMessage $message) { parent::__construct($message); $this->attributes = array(); $this->optional_attributes = array(); }