Radiator Server Documentation — v10.34.1
Table of Contents

reject

Stops the pipeline processing and returns a rejection response to the client.

Syntax

Use reject; to reject without changing the current reason.

Use reject <expression>; to set aaa.reason from the expression and reject in one step.

Examples

Reject immediately:

reject;

Reject with a fixed reason:

reject "Malformed YubiKey OTP";

Reject with a dynamic reason:

reject "operation failed: %{aaa.caught_error}";