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.

Comments

syastrov created an issue. See original summary.

syastrov’s picture

Issue summary: View changes
StatusFileSize
new1.34 KB
syastrov’s picture

StatusFileSize
new1.34 KB
syastrov’s picture

Status: Active » Needs review

  • syastrov authored 7b085c9 on 7.x-2.x
    Issue #2649458 by syastrov: Provide a way of knowing if the user has...
jrglasgow’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.