Link Search Menu Expand Document

danog\MadelineProto\Settings\Auth

Back to index

Author: Daniil Gentili daniil@daniil.it

Cryptography settings.

Method list:

Methods:

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<1, max> $maxAuthTries): self

Set max tries for generating auth key.

Parameters:

  • $maxAuthTries: int<1, max> Max tries for generating auth key

See also:

  • max

Generated by danog/phpdoc