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 URL-making functions out of WebAuthSession? #49

Open
mistermarco opened this issue Sep 23, 2011 · 1 comment
Open

Move URL-making functions out of WebAuthSession? #49

mistermarco opened this issue Sep 23, 2011 · 1 comment
Milestone

Comments

@mistermarco
Copy link
Member

There are some functions in webauth.module that instantiate a new WebAuthSession for the only purpose of creating login and return URLs. The following variable and functions in WebAuthSession.inc are involved.

variables

authUrl
returnUrl

functions

makeAuthUrl
getLoginUrl
makeReturnUrl
getWebLogin

My question is whether these need to be part of a WebAuthSession object, or could be functions in webauth.module.

@joshkoenig
Copy link
Contributor

In theory I think they can move, but it's a relatively large change. I would need to look into it more deeply to say for sure whether it's a good idea or not.

But definitely this would need to be done to insure we could get logins to work with a minimum of session creation. I missed the form_alter() on login block (which is on every page) before. :\

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

No branches or pull requests

2 participants