AuthMatcher.method constructor

const AuthMatcher.method(
  1. Pattern methodPattern
)

provide regex or string to match exactly

method will be upper case

url will be all but queries

Implementation

const factory AuthMatcher.method(
  Pattern methodPattern,
) = AuthMatcherMethodImpl;