klyn.mails.Authenticator.requestPasswordAuthentication
method

    public requestPasswordAuthentication(session as Session) as PasswordAuthentication:

Description

Resolves SMTP credentials for the provided session.

Override this method in subclasses.

Parameters

- session Mail session requesting credentials.

Returns

Credentials or `null` when the session should stay anonymous. ```klyn import klyn.mails auth = Authenticator() print(auth.requestPasswordAuthentication(null) == null)` ``