use method

void use(
  1. Function guard
)

assign Guard to work globally on any request with any method

Implementation

void use(Function guard) => _globalGuards.add(guard);