quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

login-options.md (1115B)


      1 ---
      2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
      3 SPDX-License-Identifier: curl
      4 Long: login-options
      5 Arg: <options>
      6 Protocols: IMAP LDAP POP3 SMTP
      7 Help: Server login options
      8 Added: 7.34.0
      9 Category: imap pop3 smtp auth ldap
     10 Multi: single
     11 See-also:
     12   - user
     13 Example:
     14   - --login-options 'AUTH=*' imap://example.com
     15 ---
     16 
     17 # `--login-options`
     18 
     19 Specify the login options to use during server authentication.
     20 
     21 You can use login options to specify protocol specific options that may be
     22 used during authentication. At present only IMAP, POP3 and SMTP support login
     23 options. For more information about login options please see RFC 2384,
     24 RFC 5092 and the IETF draft
     25 https://datatracker.ietf.org/doc/html/draft-earhart-url-smtp-00
     26 
     27 Since 8.2.0, IMAP supports the login option `AUTH=+LOGIN`. With this option,
     28 curl uses the plain (not SASL) `LOGIN IMAP` command even if the server
     29 advertises SASL authentication. Care should be taken in using this option, as
     30 it sends your password over the network in plain text. This does not work if
     31 the IMAP server disables the plain `LOGIN` (e.g. to prevent password
     32 snooping).