Module auth

Module auth 

Source
Expand description

This module defines trait Auth and some pre-defined authentication adaptors.

The process of SOCKS5 authentication can be customized by implementing Auth trait on your own types.

Structs§

NoAuth
Not authenticate at all.
Password
Using username and password to authenticate.

Traits§

Auth
This trait is for defining the customized process of SOCKS5 authentication.