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

Ability added to provide a custom token factory #10

Merged
merged 1 commit into from
Jan 18, 2016
Merged

Ability added to provide a custom token factory #10

merged 1 commit into from
Jan 18, 2016

Conversation

iainmckay
Copy link
Contributor

We're trying this bundle and our app requires a specific auth token to be created. This PR adds the ability to provide a custom token factory.

tmilos added a commit to tmilos/SpBundle that referenced this pull request Jan 18, 2016
@tmilos tmilos mentioned this pull request Jan 18, 2016
tmilos added a commit to tmilos/SpBundle that referenced this pull request Jan 18, 2016
tmilos added a commit to tmilos/SpBundle that referenced this pull request Jan 18, 2016
@tmilos tmilos merged commit 5944d49 into lightSAML:master Jan 18, 2016
tmilos added a commit that referenced this pull request Jan 18, 2016
@iainmckay
Copy link
Contributor Author

Thank you for fixing the failing tests. I was in the process of fixing them :)

@tmilos
Copy link
Member

tmilos commented Jan 18, 2016

Sure, no problem, thank you for contributing.
I made a small change to the factory, removed the SamlSpTokenInterface you added since it wasn't really used, and depend on Symfony's TokenInterface. Guess that suites your needs, you can use which ever token class you want. In the yet to be written logout bundle we would need NameID and SessionIndex, but think they can be stored in token attributes.

@tmilos
Copy link
Member

tmilos commented Jan 18, 2016

Btw, feel free to add yourself to the CONTRIBUTORS.md file

@iainmckay
Copy link
Contributor Author

Sure, that works for me.

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.

None yet

2 participants