pub fn access_request(
identifier: u8,
request_authenticator: &[u8; 16],
credential: Credential<'_>,
attributes: &[Attribute],
secret: &[u8],
) -> Result<Vec<u8>, BuildError>Expand description
An Access-Request (RFC 2865 §4.1), always carrying a Message-Authenticator.
The Message-Authenticator is sent on every Access-Request, not only EAP ones: servers patched for BlastRADIUS (CVE-2024-3596) require it, and it is what lets a reply be authenticated by more than the MD5 Response Authenticator alone.