private Optional<AccessTokenGrantRequestExtractor> extractAccessTokenGrantRequest(
        final WebContext context) {
        return accessTokenGrantRequestExtractors.getObject()
            .stream()
            .filter(BeanSupplier::isNotProxy)
            .filter(ext -> ext.supports(context))
            .findFirst();
    }
Does uri match pattern.

@param requestPath the request path
@param patternUrls the pattern urls
@return true /false
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/OAuth20HandlerInterceptorAdapter.java