Link Search Menu Expand Document

danog\MadelineProto\Settings\Auth

Back to index

Author: Daniil Gentili daniil@daniil.it

Cryptography settings.

Method list:

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

Methods:

getDefaultTempAuthKeyExpiresIn()

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

setDefaultTempAuthKeyExpiresIn(int $defaultTempAuthKeyExpiresIn)

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()

Get whether to use PFS.

setPfs(bool $pfs)

Set whether to use PFS.

Parameters:

  • $pfs: bool Whether to use PFS

getMaxAuthTries()

Get max tries for generating auth key.

setMaxAuthTries(int $maxAuthTries)

Set max tries for generating auth key.

Parameters:

  • $maxAuthTries: int Max tries for generating auth key

Generated by danog/phpdoc