Interface ZAuth.Auth
- All Known Implementing Classes:
ZAuth.SimpleCurveAuth, ZAuth.SimpleNullAuth, ZAuth.SimplePlainAuth
- Enclosing class:
ZAuth
public static interface ZAuth.Auth
-
Method Summary
Modifier and TypeMethodDescriptionbooleanauthorize(ZAuth.ZapRequest request, boolean verbose) Callback for authorizing a connection.booleanConfigures with ad-hoc message.
-
Method Details
-
configure
Configures with ad-hoc message.- Parameters:
msg- the configuration message.verbose- true if the actor is verbose.- Returns:
- true if correctly configured, otherwise false.
-
authorize
Callback for authorizing a connection.- Parameters:
request-verbose-- Returns:
- true if the connection is authorized, false otherwise.
-