# danog\MadelineProto\Settings\Auth

Back to index

Author: Daniil Gentili daniil@daniil.it

Cryptography settings.

# Method list:

# Methods:

# getRsaKeys(): array

Get MTProto public keys array.

# setRsaKeys(array $rsaKeys): self

Set MTProto public keys array.

Parameters:

# 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:

# getPfs(): bool

Get whether to use PFS.

# setPfs(bool $pfs): self

Set whether to use PFS.

Parameters:

# getMaxAuthTries(): int

Get max tries for generating auth key.

# setMaxAuthTries(int $maxAuthTries): self

Set max tries for generating auth key.

Parameters:


Generated by danog/phpdoc

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.