Skip to content

Conversation

@holtkamp
Copy link
Contributor

Our application was expecting a boolean to be returned by the auth() function. However, this seems to have been changed overtime. How is determined whether an authentication is successful? It seems the only way is to use 'checkToken()' after authentication.

It would be better to have 'setToken()' return a boolean, however this might break other stuff that depends on the $this being returned now...

Our application was expecting a boolean to be returned by the auth() function. However, this seems to have been changed overtime. How is determined whether an authentication is successful? It seems the only way is to use 'checkToken()' after authentication. 

It would be better to have 'setToken()' return a boolean, however this might break other stuff that depends on the $this being returned now...
TooAngel added a commit that referenced this pull request Jun 20, 2014
@TooAngel TooAngel merged commit 3433168 into cloudControl:master Jun 20, 2014
@TooAngel
Copy link
Contributor

If the auth request fails an exception is thrown. The checkToken() is meant to verify that a token exist.

Thank you for the pull request

@holtkamp holtkamp deleted the patch-1 branch July 9, 2014 10:13
@holtkamp
Copy link
Contributor Author

holtkamp commented Jul 9, 2014

Can you guys consider to tag the current master as a new version? So our production systems (not allowed to depend on development versions) can also incorporate these changes.

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