Skip to content

Allow users to only apply the middleware to specific paths#151

Open
adamnengland wants to merge 3 commits into
pelle:masterfrom
rednovalabs:middleware_path
Open

Allow users to only apply the middleware to specific paths#151
adamnengland wants to merge 3 commits into
pelle:masterfrom
rednovalabs:middleware_path

Conversation

@adamnengland
Copy link
Copy Markdown

I have added an optional param to the middleware definition. The user can specify a regex to restrict the paths that the OAuthFilter will act upon. If no param is supplied, the OAuthFilter will operate on all URLs (the current functionality is the default).

adamnengland and others added 3 commits March 18, 2015 13:52
Treat path a string, not a raw regex

Cleanup

Documentation
Bump OAuth-Ruby gem requirement to latest version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant