You are here

function samlauth_get_saml2_auth in SAML Authentication 7

Get an instance of the SAML Auth class.

Return value

\OneLogin\Saml2\Auth The SAML Auth library object.

5 calls to samlauth_get_saml2_auth()
samlauth_acs in ./samlauth.module
Menu callback for /saml/acs.
samlauth_login in ./samlauth.module
Menu callback for /saml/login.
samlauth_logout in ./samlauth.module
Menu callback for /saml/logout.
samlauth_metadata in ./samlauth.module
Menu callback for /saml/metadata.
samlauth_sls in ./samlauth.module
Menu callback for /saml/sls.

File

./samlauth.module, line 209
Provides SAML authentication capabilities.

Code

function samlauth_get_saml2_auth() {
  return new OneLogin\Saml2\Auth(samlauth_get_config());
}