src/LightSaml/SamlConstants.php
public static function isConfirmationMethodValid($value)
    {
        static $arr = array(
            self::CONFIRMATION_METHOD_BEARER,
            self::CONFIRMATION_METHOD_HOK,
            self::CONFIRMATION_METHOD_SENDER_VOUCHES,
        );

        return in_array($value, $arr);
    }
public static function isConfirmationMethodValid($value)
    {
        static $arr = array(
            self::CONFIRMATION_METHOD_BEARER,
            self::CONFIRMATION_METHOD_HOK,
            self::CONFIRMATION_METHOD_SENDER_VOUCHES,
        );

        return in_array($value, $arr);
    }
@param string $value

@return bool