AuthDomainFilter

typealias AuthDomainFilter = (domain: AuthDomain, msg: ServerMessage) -> Boolean

The prototype for a #SoupAuthDomain filter.

See method@AuthDomain.set_filter for details.

  • param domain a #SoupAuthDomain

  • param msg a #SoupServerMessage

  • return true if @msg requires authentication, false if not.