Skip to main content

Module authentication

Module authentication 

Source
Expand description

Form-encoded authentication requests and bounded decision responses. Typed, secret-safe values for the phone HTTP authentication exchange.

This exchange is form-encoded HTTP with a plain-text decision token. It is intentionally separate from the phone XML models because neither the request nor the response is an XML document.

Structs§

OpaquePhoneAuthenticationResponse
A bounded unsupported authentication response retained without inspection.
PhoneAuthenticationPassword
Password forwarded by the phone to its authentication service.
PhoneAuthenticationRequest
The three fields supplied to the configured phone authentication URL.
PhoneAuthenticationUserId
User identifier forwarded by the phone to its authentication service.

Enums§

PhoneAuthenticationError
Validation and I/O failures at the authentication HTTP boundary.
PhoneAuthenticationResponse
Plain-text decision returned by a phone authentication endpoint.

Constants§

PHONE_AUTHENTICATION_MAX_PASSWORD_BYTES
Maximum UTF-8 byte length of an authentication password.
PHONE_AUTHENTICATION_MAX_QUERY_BYTES
Maximum encoded size accepted by PhoneAuthenticationRequest::parse_query.
PHONE_AUTHENTICATION_MAX_RESPONSE_BYTES
Maximum response size retained or emitted by this module.
PHONE_AUTHENTICATION_MAX_USER_ID_BYTES
Maximum UTF-8 byte length of an authentication user identifier.