Function imap_codec::parse::command::authenticate_data[][src]

pub fn authenticate_data(input: &[u8]) -> IResult<&[u8], Vec<u8>>
Expand description

Use this parser instead of command when doing authentication.

                                                               Parsed here (because this is not parsed through command,
                                                                            CRLF must be parsed additionally)
                                                               |
                                                               vvvvvvvvvvvvvv
authenticate = "AUTHENTICATE" SP auth-type [SP (base64 / "=")] *(CRLF base64) // TODO: why the "="?
                                           ^^^^^^^^^^^^^^^^^^^
                                           |
                                           Added by SASL-IR (RFC RFC 4959)