Commit graph

5 commits

Author SHA1 Message Date
João Pires
77e02f3796 version 1.0.1. Fixed package for Django 4.2. 2024-01-25 14:33:24 +00:00
Aurélien Delobelle
a11a835ef2 Fix CASTestCase.client_cas_login() 2017-12-29 22:21:44 +01:00
Aurélien Delobelle
bb8a3b16bf Connect a CAS Account for an authenticated works...
...thanks to using SocialLogin.stash/unstash_state.

Also:
- Some tests are updated to get the stash_state. Requests are denied if
client session doesn't go through stash_state (called in LoginCASView).
- Fix an assert statement in a test.
2017-09-16 01:58:09 +02:00
Aurélien Delobelle
049cf22b42 Renew on already authenticated + Misc tests
Renew paramater:
- By default, CAS client will use renew parameter if user already
authenticates via a CAS server. If always False, he can't
reauthenticate on a CAS server due to the single sign-on CAS feature
(except if he logouts of CAS on his own).

Tests:
- patch_cas_reponse now returns a correct CAS client taking into
account the version attribute of the CAS adapter.
- Some moves happens between testcases et al.
- Delete old and now unused fake CAS client classes.
2017-07-28 15:31:37 +02:00
Aurélien Delobelle
9860eb683f Update tests
- Delete patch_cas_client on CASTestCase. It's replaced with
patch_cas_response method.
- Move CAS*TestCase to allauth_cas.test.testcases.
2017-07-26 18:32:35 +02:00