You are here

function securesite_type_get in Secure Site 7.2

Gets the preferred authentication method.

Return value

int

5 calls to securesite_type_get()
_securesite_403 in ./securesite.inc
Menu callback; handle restricted pages.
_securesite_denied in ./securesite.inc
Deny access to users who are not authorized to access secured pages.
_securesite_digest_auth in ./securesite.inc
Perform digest authentication.
_securesite_guest_login in ./securesite.inc
Log in guest user.
_securesite_plain_auth in ./securesite.inc
Perform plain authentication.

File

./securesite.inc, line 538
Secure Site log-in functions.

Code

function securesite_type_get() {
  $securesite_type = variable_get('securesite_type', array(
    SECURESITE_BASIC,
  ));
  return array_pop($securesite_type);
}