It is useful in some situations to know if the user has logged in via the SAML SP or some other method.
Currently, there is no way of knowing this.
This patch stores whether the user logged via SAML SP in the $_SESSION variable and provides an API function "saml_sp_drupal_login_is_authenticated" for checking if the user is currently authenticated via the SAML SP module.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2649458-saml_sp-is_user_authenticated_via_saml-2.patch | 1.34 KB | syastrov |
Comments
Comment #2
syastrov commentedComment #3
syastrov commentedComment #4
syastrov commentedComment #6
jrglasgow commentedcommitted