Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to specify the username column for Basic Authentication Provider in config #5

Closed
wants to merge 2 commits into from

Conversation

bradstinson
Copy link

Added the ability to specify in the config which column to use as a 'username' when authenticating with the Basic Provider.

By default, it will still use the email column. Just wanted to add some more flexibility for a project I am working on.

If anything needs to be modified before merging, let me know and I will be happy to make any changes.

Brad

@jasonlewis
Copy link
Contributor

Hm, for some reason I thought this was configured elsewhere. I think we'll tackle this a bit differently, mainly because I feel the authentication isn't quite right yet. Going to work on this now.

@jasonlewis
Copy link
Contributor

Okay I've gone ahead and made some changes to the authentication layer. This allows it to be a little more flexible and extendable.

Cheers for the PR though. 😄

@jasonlewis jasonlewis closed this Apr 16, 2014
@xLink xLink mentioned this pull request Dec 3, 2014
@kabelo38 kabelo38 mentioned this pull request May 12, 2015
wayne5w referenced this pull request Mar 17, 2016
Instead of using the existing Laravel router we will use a new instance. This
should prevent the APIs internal dispatcher from overriding the current route
on the actual Laravel router instance.

There does not seem to be any need for the router instance that is injected
into the adapter to be the actual Laravel router, as the adapter just needs
an instance to dispatch the API-only routes.
@banandam banandam mentioned this pull request Apr 21, 2016
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.

2 participants