/** * @param OpenIdMessage $message * @return bool */ public static function IsOpenIdAuthenticationRequest(OpenIdMessage $message) { $mode = $message->getMode(); if ($mode == OpenIdProtocol::ImmediateMode || $mode == OpenIdProtocol::SetupMode) { return true; } return false; }
public static function IsOpenIdAssociationSessionRequest(OpenIdMessage $message) { $mode = $message->getMode(); if ($mode == OpenIdProtocol::AssociateMode) { return true; } return false; }
public static function IsOpenIdCheckAuthenticationRequest(OpenIdMessage $message) { $mode = $message->getMode(); if ($mode == OpenIdProtocol::CheckAuthenticationMode) { return true; } return false; }