![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/medad.corals.io/vendor/kreait/firebase-php/src/Firebase/Auth/ |
<?php declare(strict_types=1); namespace Kreait\Firebase\Auth; final class SendActionLink { private CreateActionLink $action; private ?string $locale; private ?string $idTokenString = null; public function __construct(CreateActionLink $action, ?string $locale = null) { $this->action = $action; $this->locale = $locale; } public function type(): string { return $this->action->type(); } public function email(): string { return $this->action->email(); } public function settings(): ActionCodeSettings { return $this->action->settings(); } public function tenantId(): ?string { return $this->action->tenantId(); } public function locale(): ?string { return $this->locale; } /** * @internal * * Only to be used when the API endpoint expects the ID Token of the given user. * * Currently, this seems only to be the case on VERIFY_EMAIL actions. * * @see https://github.com/firebase/firebase-js-sdk/issues/1958 */ public function withIdTokenString(string $idTokenString): self { $instance = clone $this; $instance->action = clone $this->action; $instance->idTokenString = $idTokenString; return $instance; } /** * @internal * * Only to be used when the API endpoint expects the ID Token of the given user. * * Currently seems only to be the case on VERIFY_EMAIL actions. * * @see https://github.com/firebase/firebase-js-sdk/issues/1958 */ public function idTokenString(): ?string { return $this->idTokenString; } }