api/symfony/Component/Mailer/Transport/Smtp/Auth/CramMd5Authenticator.yaml
2024-09-26 02:03:21 -07:00

34 lines
1.1 KiB
YAML

name: CramMd5Authenticator
class_comment: '# * Handles CRAM-MD5 authentication.
# *
# * @author Chris Corbyn'
dependencies:
- name: InvalidArgumentException
type: class
source: Symfony\Component\Mailer\Exception\InvalidArgumentException
- name: EsmtpTransport
type: class
source: Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport
properties: []
methods:
- name: authenticate
visibility: public
parameters:
- name: client
comment: "# * Handles CRAM-MD5 authentication.\n# *\n# * @author Chris Corbyn\n\
# */\n# class CramMd5Authenticator implements AuthenticatorInterface\n# {\n# public\
\ function getAuthKeyword(): string\n# {\n# return 'CRAM-MD5';\n# }\n# \n# /**\n\
# * @see https://www.ietf.org/rfc/rfc4954.txt"
- name: getResponse
visibility: private
parameters:
- name: secret
- name: challenge
comment: '# * Generates a CRAM-MD5 response from a server challenge.'
traits:
- Symfony\Component\Mailer\Exception\InvalidArgumentException
- Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport
interfaces:
- AuthenticatorInterface