canRespondWithJson property

bool canRespondWithJson
getter/setter pair

If false (default: true), then successful authentication will return true and allow the execution of subsequent handlers, just like any other middleware.

Works well with Basic authentication.

Implementation

bool canRespondWithJson;