xref: /aosp_15_r20/external/curl/docs/cmdline-opts/sasl-authzid.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: sasl-authzid
5*6236dae4SAndroid Build Coastguard WorkerArg: <identity>
6*6236dae4SAndroid Build Coastguard WorkerHelp: Identity for SASL PLAIN authentication
7*6236dae4SAndroid Build Coastguard WorkerAdded: 7.66.0
8*6236dae4SAndroid Build Coastguard WorkerCategory: auth
9*6236dae4SAndroid Build Coastguard WorkerMulti: single
10*6236dae4SAndroid Build Coastguard WorkerSee-also:
11*6236dae4SAndroid Build Coastguard Worker  - login-options
12*6236dae4SAndroid Build Coastguard WorkerExample:
13*6236dae4SAndroid Build Coastguard Worker  - --sasl-authzid zid imap://example.com/
14*6236dae4SAndroid Build Coastguard Worker---
15*6236dae4SAndroid Build Coastguard Worker
16*6236dae4SAndroid Build Coastguard Worker# `--sasl-authzid`
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard WorkerUse this authorization identity (**authzid**), during SASL PLAIN
19*6236dae4SAndroid Build Coastguard Workerauthentication, in addition to the authentication identity (**authcid**) as
20*6236dae4SAndroid Build Coastguard Workerspecified by --user.
21*6236dae4SAndroid Build Coastguard Worker
22*6236dae4SAndroid Build Coastguard WorkerIf the option is not specified, the server derives the **authzid** from the
23*6236dae4SAndroid Build Coastguard Worker**authcid**, but if specified, and depending on the server implementation, it
24*6236dae4SAndroid Build Coastguard Workermay be used to access another user's inbox, that the user has been granted
25*6236dae4SAndroid Build Coastguard Workeraccess to, or a shared mailbox for example.
26