Commit graph

9 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
b61fa627fd Fix usage with CASClient V2 2018-10-21 15:20:23 +02:00
Aurélien Delobelle
5340ef0d1a Beta release (with docs) 2017-12-29 18:23:50 +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
Aurélien Delobelle
7133ae65a6 Prevent escaping of logout message 2017-07-26 17:24:20 +02:00
Aurélien Delobelle
76fd5ca344 initial 2017-07-25 18:31:42 +02:00
Aurélien Delobelle
f6a7dbc385 add files for setup & tests 2017-07-22 18:29:14 +02:00