|
|
|
|
@ -35,12 +35,12 @@ class Factory
|
|
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
!is_null($this->session) ? : $this->session = new Session();
|
|
|
|
|
!is_null($this->csrf_clock) ? : $this->csrfClock = new RequestClock();
|
|
|
|
|
!is_null($this->csrfClock) ? : $this->csrfClock = new RequestClock();
|
|
|
|
|
!is_null($this->csrf) ? : $this->csrf = new AntiCSRF(
|
|
|
|
|
$this->session,
|
|
|
|
|
$this->csrf_clock
|
|
|
|
|
$this->csrfClock
|
|
|
|
|
);
|
|
|
|
|
!is_null($this->totp_clock) ? : $this->totpClock = new Clock();
|
|
|
|
|
!is_null($this->totpClock) ? : $this->totpClock = new Clock();
|
|
|
|
|
!is_null($this->$hash) ? : $this->hash = new HMAC_SHA1();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|