Versions in this module Expand all Collapse all v0 v0.1.0 Jul 23, 2026 Changes in this version + var ErrProofFailed = errors.New("radiusmfa: server failed MS-CHAP-V2 mutual authentication") + type Client struct + func New(cfg Config) (*Client, error) + func (c *Client) Authenticate(ctx context.Context, username, password string, opts ...Option) error + type Config struct + Addr string + NASIdentifier string + Protocol Protocol + Retries int + Secret string + Timeout time.Duration + type Option func(*reqOptions) + func WithCallingStationID(id string) Option + type Protocol string + const MSCHAPv2 + const PAP + type RejectError struct + ReplyMessage string + func (e *RejectError) Error() string