Link Search Menu Expand Document

danog\MadelineProto\Settings\Auth

Back to index

Author: Daniil Gentili daniil@daniil.it

Cryptography settings.

Method list:

  • getDefaultTempAuthKeyExpiresIn(): int
  • setDefaultTempAuthKeyExpiresIn(int $defaultTempAuthKeyExpiresIn): self
  • getPfs(): bool
  • setPfs(bool $pfs): self
  • getMaxAuthTries(): int
  • setMaxAuthTries(int $maxAuthTries): self

Methods:

getDefaultTempAuthKeyExpiresIn(): int

Get validity period of the binding of temporary and permanent keys.

setDefaultTempAuthKeyExpiresIn(int $defaultTempAuthKeyExpiresIn): self

Set validity period of the binding of temporary and permanent keys.

Parameters:

  • $defaultTempAuthKeyExpiresIn: int Validity period of the binding of temporary and permanent keys.

getPfs(): bool

Get whether to use PFS.

setPfs(bool $pfs): self

Set whether to use PFS.

Parameters:

  • $pfs: bool Whether to use PFS

getMaxAuthTries(): int

Get max tries for generating auth key.

setMaxAuthTries(int $maxAuthTries): self

Set max tries for generating auth key.

Parameters:

  • $maxAuthTries: int Max tries for generating auth key

Generated by danog/phpdoc