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

Move the creation of the AuthnRequest to separate function #367

Conversation

pierrebateau
Copy link

By moving the creation of the AuthnRequest to a separate function, it's easier to extend the Auth class to use a custom AuthnRequest (to implement extra features like in #211). This way, only the buildAuthnRequest() function has to be overridden.

In the current implementation, overriding the login() function to achieve the same goal causes some problems with private variables such as _settings.

@pitbulk pitbulk merged commit 512f82e into SAML-Toolkits:3.1.1 Mar 5, 2019
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