Module: CZTop::ZAP

Defined in:
lib/cztop/zap.rb

Overview

Note:

This is not needed to be able to use Authenticator!

This module provides two classes useful when implementing your own ZAP authentication handler or when directly communicating with one. Within CZTop, it’s merely used for testing.

Some of the features:

  • useful for both sides of the ZAP communication, i.e. useful for testing

  • security mechanism agnostic

  • protocol errors, version mismatches, and internal errors as exceptions

  • useful to implement your own ZAP handler

Defined Under Namespace

Modules: Mechanisms Classes: Error, Request, Response, VersionMismatch

Constant Summary collapse

ENDPOINT =

the endpoint a ZAP authenticator has bound to

'inproc://zeromq.zap.01'
VERSION =

the ZAP version supported by this code

'1.0'