Skip to main content

Crate unftp_auth_rest

Crate unftp_auth_rest 

Source
Expand description

This crate provides a libunftp Authenticator implementation that authenticates by calling a JSON REST API. Configure a Builder with the request URL, placeholders, a JSON Pointer into the response, and a regular expression for the accepted value.

Structs§

Builder
Used to build the RestAuthenticator
RestAuthenticator
A libunftp Authenticator implementation that authenticates by consuming a JSON REST API.

Enums§

RestError
Errors that can occur while constructing or using a REST authentication request.